Forum > macOS / Mac OS X
Compiling an application using Lua
Leledumbo:
Upon compiling, you might capture messages saying: unit xxx not used in yyy. This is a hint, so make sure you have -vi in compiler option. Remove those units, and (hopefully) your problem will be gone.
Jonas Maebe:
--- Quote from: Leledumbo on August 11, 2010, 03:12:35 am ---Upon compiling, you might capture messages saying: unit xxx not used in yyy. This is a hint, so make sure you have -vi in compiler option. Remove those units, and (hopefully) your problem will be gone.
--- End quote ---
The compiler is only supposed to print that hint if removing that unit does not result functional changes to the program. If a unit instructs the compiler to link a library, then removing that unit will cause changes, so the compiler should not print that hint for such units (and if it does, that's a bug).
And to the OP: yes, removing the x and xlib units from the sdl unit should be enough to solve your problems.
Navigation
[0] Message Index
[*] Previous page