[gmpi] Re: Plugin Factory Update

We compile with maximum warnings and treat warnings as errors.  However,
we have this particular warning #pragmad to be off, because we have some
very useful runtime error checking macros that actually do assign within
a conditional. 

-----Original Message-----
From: gmpi-bounce@xxxxxxxxxxxxx [mailto:gmpi-bounce@xxxxxxxxxxxxx] On
Behalf Of Paul Davis
Sent: Tuesday, March 01, 2005 9:58 PM
To: gmpi@xxxxxxxxxxxxx
Subject: [gmpi] Re: Plugin Factory Update

>> I personally find this incredibly hard to read.  If there is a strong
>> swell of support for this, then OK, but I *hate* it
>
>Try it, you'll like, or I'll double your money back.<g>

will i like it as much as -Wall (or your compiler's equivalent) which
will tell me:

/tmp/k.c:6: warning: suggest parentheses around assignment used as truth
value

**even when** I forget to order it "correctly" ? if you're not compiling
code with the equivalent of -Wall, why not? and if you are, and still
get any warnings, why aren't they fixed?

i would be suprised to find that MS compilers don't have this feature;
gcc and icc both do.

--p

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your
own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe


----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: