Issue with GCC 4.4.0 and Cyrus-SASL, and fix

William Immendorf will.immendorf at gmail.com
Sun Aug 9 12:52:24 PDT 2009


When I was working on Cyrus-SASL, I got these errors, along with a
bunch of junk:

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

Both lines looked like this:

{{{
#elif WITH_DES
}}}

Thanks to http://www.linux-archive.org/crux/266779-compile-cyrus-sasl-error.html
and http://www.cyrius.com/journal/gcc#gcc-4.4-preprocessor-errors, I
found the solution: Encase WITH_DES with a defined() thing.

The affected lines are 2718 and 4037. Anyone want to think of a sed or
patch for this issue?

William



More information about the blfs-dev mailing list