[Bug 515639] [NEW] won't compile in lucid - due to gcc 4.4

Lars Düsing lars at camelotsweb.de
Mon Feb 1 18:45:38 GMT 2010


Public bug reported:

on compile:

digestmd5.c:2718:15: error: #elif with no expression
digestmd5.c:4037:15: error: #elif with no expression

this is mentioned on http://gcc.gnu.org/gcc-4.4/porting_to.html:

Preprocessor conditionals always evaluated

When using the preprocessor statement #elif, the argument is now
evaluated even if earlier #if or #elif conditionals evaluated non-zero.
This is done to make sure they are valid constant expressions. (For
details, see bug 36320).

For example, the code

#if 1
#elif
#endif

Now produces the following diagnostic:

error: #elif with no expression

To fix this, either use #else without an argument or provide a constant
expression when using #elif.

** Affects: cyrus-sasl2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
won't compile in lucid - due to gcc 4.4
https://bugs.launchpad.net/bugs/515639
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cyrus-sasl2 in ubuntu.



More information about the Ubuntu-server-bugs mailing list