This is the mail archive of the
cygwin-talk
mailing list for the cygwin project.
RE: -fno-inline -O1 breaks ntohs()
- From: ericblake at comcast dot net (Eric Blake)
- To: cygwin-talk at cygwin dot com
- Date: Mon, 18 Sep 2006 03:25:46 +0000
- Subject: RE: -fno-inline -O1 breaks ntohs()
- Reply-to: The Cygwin-Talk Maiming List <cygwin-talk at cygwin dot com>
> ! #if defined __OPTIMIZE__ && !defined __NO_NOINLINE__
Cool - a triple negative - makes reading the code oh so fun! Too
bad Danny had to cut it back to just a double negative in his followup.
I still remember how confused I used to get with hardware designers'
negative logic, where low voltage means asserted. But enough years
of practice, and now I too get accused of throwing in too many
inversions into my code. After all, POSIX standardized on NDEBUG
being defined as the key to disable assertions :)