Issue with GCC 4.4.0 and Cyrus-SASL, and fix

DJ Lucas dj at
Sun Aug 9 20:44:35 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


> the solution: Encase WITH_DES with a defined() thing.

A defined() thing?  ;-)

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

I generally prefer to be as explicit as possible, so as not to have to
explain it.  "sed 's@^#elif WITH_DES$@#elif defined(WITH_DES)@' -i
/path/to/digestmd5.c" should be sufficient for your scripts.

-- DJ Lucas

This message has been scanned for viruses and
dangerous content, and is believed to be clean.

More information about the blfs-dev mailing list