Anal-retentive compiler warning aversion
Anal-retentive compiler warning aversion
- Subject: Anal-retentive compiler warning aversion
- From: Art Gillespie <email@hidden>
- Date: Mon, 10 Nov 2003 12:08:41 -0500
- Mail-followup-to: email@hidden
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 ;)
Best,
Art
>
>0xBA
_______________________________________________
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.