The R Project SVN R

Rev

Rev 84219 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 84219 Rev 85055
Line 60... Line 60...
60
standard.  While they are usually supported as compiler extensions, warnings
60
standard.  While they are usually supported as compiler extensions, warnings
61
are typically issued (-pedantic) by a C++ compiler.
61
are typically issued (-pedantic) by a C++ compiler.
62
*/
62
*/
63
 
63
 
64
#ifdef __cplusplus
64
#ifdef __cplusplus
65
// Look for clang first as it defines __GNUC__ and reacts to #praema GCC
65
// Look for clang first as it defines __GNUC__ and reacts to #pragma GCC
66
# if defined(__clang__)
66
# if defined(__clang__)
67
#  pragma clang diagnostic push
67
#  pragma clang diagnostic push
68
#  pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
68
#  pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
69
#  pragma clang diagnostic ignored "-Wc99-extensions"
69
#  pragma clang diagnostic ignored "-Wc99-extensions"
70
# elif defined(__GNUC__)
70
# elif defined(__GNUC__)