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

-- 
|  (\_/) This is Bunny. Copy and paste
| (='.'=) Bunny into your signature to help
| (")_(") him gain world domination

------------------------------------------------------------------------------
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

Reply via email to