From: Philip S. <ph...@sa...> - 2004-06-30 18:04:38
|
On a per file basis you can use the following switches on the msp430-gcc command line: -w turns off all wanings -Wall turns on a set of commonly used warnings There are a whole bunch of -Wxxxx switches you can use to selectively enable/disable particular warnings - look at the gcc documentation for details. I'm pretty sure you can't suppress warnings within a file like you can with lint. There is usually a way of telling the compiler that you really do know what you are doing and this supresses the warning. Is it a particular warning that's causing the problem? Regards Phil. John Glendenning wrote: > Hi, > > Does anyone know how to turns off a particular warnings for a specific > function or a specific file in msp430-gcc? > > Thanks > John G > > ------------------------------------------------------- > This SF.Net email sponsored by Black Hat Briefings & Training. > Attend Black Hat Briefings & Training, Las Vegas July 24-29 - > digital self defense, top technical experts, no vendor pitches, > unmatched networking opportunities. Visit www.blackhat.com > _______________________________________________ > Mspgcc-users mailing list > Msp...@li... > https://lists.sourceforge.net/lists/listinfo/mspgcc-users |