juicy compiler error
This commit is contained in:
@@ -6,10 +6,10 @@
|
||||
|
||||
// Use: #pragma message WARN("My message")
|
||||
#if _MSC_VER
|
||||
# define FILE_LINE_LINK __FILE__ "(" STRINGISE(__LINE__) ") : "
|
||||
# define WARN(exp) (FILE_LINE_LINK "WARNING: " exp)
|
||||
#else//__GNUC__ - may need other defines for different compilers
|
||||
# define WARN(exp) ("WARNING: " exp)
|
||||
#define FILE_LINE_LINK __FILE__ "(" STRINGISE(__LINE__) ") : "
|
||||
#define WARN(exp) (FILE_LINE_LINK "WARNING: " exp)
|
||||
#else //__GNUC__ - may need other defines for different compilers
|
||||
#define WARN(exp) ("WARNING: " exp)
|
||||
#endif
|
||||
|
||||
#endif // COMMON_H
|
||||
#endif // COMMON_H
|
||||
|
||||
Reference in New Issue
Block a user