mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Moved SunPro warning suppression into pyport.h and out of individual
modules and objects.
This commit is contained in:
parent
95b66f3276
commit
9ba301e589
7 changed files with 7 additions and 24 deletions
|
@ -579,4 +579,11 @@ typedef struct fd_set {
|
|||
#define Py_GCC_ATTRIBUTE(x) __attribute__(x)
|
||||
#endif
|
||||
|
||||
/* Eliminate end-of-loop code not reached warnings from SunPro C
|
||||
* when using do{...}while(0) macros
|
||||
*/
|
||||
#ifdef __SUNPRO_C
|
||||
#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
|
||||
#endif
|
||||
|
||||
#endif /* Py_PYPORT_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue