On 8/30/2010 5:33 PM, Ozkan Sezer wrote: > On Mon, Aug 30, 2010 at 5:30 PM, Kai Tietz<[email protected]> wrote: >> 2010/8/30 Vasilakis<[email protected]>: >>> I have a problem compiling an application under windows XPSP3 x86 with >>> >>> mingw-w32-bin_i686-mingw_20100711_sezero.zip + >>> sezero_20100711_w32_runtime_update_3441.zip >>> >>> The exact error reads. >>> >>> e:\mingw\bin\../lib/gcc/i686-w64-mingw32/4.4.5/../../../../i686-w64-mingw32/include/math.h:384: >>> error: expected unqualified-id before 'float' >>> >>> What does it mean? >>> >>> Thanks >> Hmm, the line you show is 'extern float __cdecl sinf(float _X);'. Now >> is the question which float gcc is warning here about. If it is the >> first, then you have possibly a define of extern (which is a bit >> unlikely). My bets go for the second one and here the issue could be >> that sinf is a define. To check use preprocessed headers (gcc -E) and >> check what this line gets expanded to. >> >> Regards, >> Kai >> > There is the signbit() macro just before that sinf() prototype. If there > is some voodoo about that one in the user code, that can mess things up > too? Yes, it would help if we see the preprocessed source. > > -- > Ozkan
Can you please tell me how to do it? I use the latest stable codeblocks to compile lsm_1_7_15_source.zip (Lionsnake modeller). with -E it compiles fine, without it does not. How can I instruct it to "generate preprocessed headers"? Thanks and sorry for my ignorance. ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
