Changes between Version 14 and Version 15 of Guidelines/WarningsGuidelines


Ignore:
Timestamp:
Jan 15, 2011, 4:15:52 AM (12 years ago)
Author:
phorgan1
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Guidelines/WarningsGuidelines

    v14 v15  
    699699Both of them should be used only at file scope for versions 4.2-4.5.  Beginning at version 4.6 they can be used at any scope.  If you want to turn multiple things from warning to error to ignored between the push and the pop then this will not be effective for you.
    700700
    701 It allows you to do things like:
     701It allows you to do things like (for GCC version 4.6 or later):
    702702{{{
    703703    GCC_DIAG_OFF(sign-compare);
     
    727727}}}
    728728
    729 These are perhaps not the best choice of names for the macros since they risk future collision with GCC macros.  In your domain you should probably prefix every instance of GCC_ with YOURDOMAIN_ to make YOURDOMAIN_GCC_, for example YOURDOMAIN_GCC_DIAG_OFF(x).
     729These macro names won't collide with GCC macros since their's start with one or two underscores.
    730730----
    731731'''Intel'''