Re: Preprocessed output in gcc 4.5.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Edward Diener <eldlistmailingz@xxxxxxxxxxxxxx> writes:

> I will try it but I doubt if it will show me anything effective. The
> error it is showing is of the form:
>
> #if SOME_MACRO() == 1 && SOME_OTHER_MACRO() == 2
>
> where it is saying:
>
> error: missing binary operator before token "("

It may help a little to use -fshow-column.

The error means that the preprocessor's expression parser saw a value
where it was not expecting one.  In this case I believe it means that
SOME_MACRO is not defined, so the preprocessor is replacing it with the
empty string.  You can use the -dD option to see where all macros are
defined.

Ian


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux