Automatic migration. Original reporter: "mdmkolbe"
The public headers are generating lots (700+) of warnings on GCC with Windows (at least with -W -Wall). Generally public headers should be warning free as any warnings in them will cause warnings in any downstream project.
The warnings are of the form: include/CEGUIString.h:4772: warning: inline function 'void CEGUI::String::init()' is declared as dllimport: attribute ignored.
The straightforward solution would be to move the bodies of these implicitly inline functions to a *.cpp file. However in discussion on IRC, Dalfy indicated that doing that would cost significant performance on unix. Other solutions suggested include: making CEGUIEXPORT empty in the non-export, non-MSVC case; pulling the function bodies into a file that is conditionally included in either the *.h or *.cpp files depending on which is safe.
Additional information: Attached are the warnings.
Compiler is: gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) Compiled with "-W -Wall". System is: CYGWIN_NT-5.1 seville 1.5.19(0.150/4/2) 2006-01-20 13:28 i686 Cygwin