gcc-3.1, Alpha Linux, Compile problems with optimize

Richard Henderson rth@redhat.com
Sat May 18 20:15:00 GMT 2002


On Sat, May 18, 2002 at 01:08:51PM -0700, James W. McKelvey wrote:
> Errors below occur only with optimization. Code compiles without optimization,
> and compiles on Compaq cxx even with, so I'm pretty sure there are no
> syntax errors,

Don't count on it.  There's no doubt some macro being pulled in
from some header that is conditional on __OPTIMIZE__ && __GNUC__.

    static string_t dcgettext (__null, const string_t& text, __LC_MESSAGES);

Indeed, __null is not correct here.


r~



More information about the Gcc-bugs mailing list