Re: Anal-retentive compiler warning aversion
Re: Anal-retentive compiler warning aversion
- Subject: Re: Anal-retentive compiler warning aversion
- From: Doug Wyatt <email@hidden>
- Date: Fri, 14 Nov 2003 14:10:29 -0800
I checked in the fix ... thanks!
Doug
On Nov 10, 2003, at 9:08, Art Gillespie wrote:
FWIW,
The following at AUDispatch.cpp:369
ComponentResult result;
causes gcc (3.3 20030304 on 10.3.0) to issue
'ComponentResult result' might be used uninitialized in this function.
Since I learned long ago that -Werror is the most useful compiler
switch
of them all, I need to change it to
ComponentResult result = noErr;
to compile warning- (and in my case, error-) free.
Now if only there were a -Wno-parameter-persistence switch for
AUValidator ;)
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.