Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Turn off warnings

Turn off warnings
Thread Tools
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
May 7, 2001, 07:09 PM
 
OK - silly question, but...

Where do you go to choose what warnings are displayed in ProjectBuilder. I'm porting in some code and they use the following style for long comments:


/*=============
/* This is a comment
/* block.
/*=============*/

Yeah, I know, not pretty. But I have dozens of these files. It's not that big a deal. But I get so many warnings dealing with the style of comments that it is a tad annoying.

     
Dedicated MacNNer
Join Date: Jan 2001
Location: Virginia, US
Status: Offline
Reply With Quote
May 7, 2001, 08:29 PM
 
You can add the -Wno-comment flag to the CFLAGS definition to turn off that particular warning.
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
May 8, 2001, 12:18 PM
 
Thanks - I have to get some general book on that ProjectBuilder. It's a bit of a chore to figure it out.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
May 8, 2001, 01:50 PM
 
In fact that's part of gcc, although I guess it might be an apple-specific extension. You might like to look through the gcc docs, they're pretty extensive.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 10:01 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2