Enable #pragma message in Clang.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2015-11-16 12:28:21 +02:00
parent 7038c25c39
commit 5eed97c640
17 changed files with 4 additions and 34 deletions

View File

@ -610,7 +610,8 @@ CLANG_DEBUG_CXXFLAGS += \
-Wwrite-strings \ -Wwrite-strings \
-Wzero-length-array \ -Wzero-length-array \
-Qunused-arguments \ -Qunused-arguments \
-fcolor-diagnostics -fcolor-diagnostics \
-fms-extensions # Need for pragma message
ICC_DEBUG_CXXFLAGS += \ ICC_DEBUG_CXXFLAGS += \
$$ISYSTEM \ # Ignore warnings Qt headers. $$ISYSTEM \ # Ignore warnings Qt headers.
@ -650,5 +651,6 @@ CLANG_DEBUG_CXXFLAGS += \
-Wall \ -Wall \
-Wextra \ -Wextra \
-pedantic \ -pedantic \
-fno-omit-frame-pointer # Need for exchndl.dll -fno-omit-frame-pointer \ # Need for exchndl.dll
-fms-extensions # Need for pragma message
} }

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for tape utility.\n") #pragma message("Compiling precompiled headers for tape utility.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for Valentina.\n") #pragma message("Compiling precompiled headers for Valentina.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for IFC library.\n") #pragma message("Compiling precompiled headers for IFC library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -27,9 +27,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for QmuParser library.\n") #pragma message("Compiling precompiled headers for QmuParser library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VDxf library.\n") #pragma message("Compiling precompiled headers for VDxf library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VFormat library.\n") #pragma message("Compiling precompiled headers for VFormat library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VGeometry library.\n") #pragma message("Compiling precompiled headers for VGeometry library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VLayout library.\n") #pragma message("Compiling precompiled headers for VLayout library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VMisc library.\n") #pragma message("Compiling precompiled headers for VMisc library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VObj library.\n") #pragma message("Compiling precompiled headers for VObj library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VPatternDB library.\n") #pragma message("Compiling precompiled headers for VPatternDB library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -22,9 +22,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VPropertyExplorer library.\n") #pragma message("Compiling precompiled headers for VPropertyExplorer library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VTools library.\n") #pragma message("Compiling precompiled headers for VTools library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for VWidgets library.\n") #pragma message("Compiling precompiled headers for VWidgets library.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for QmuParser tests.\n") #pragma message("Compiling precompiled headers for QmuParser tests.\n")
#endif
/* Add C includes here */ /* Add C includes here */

View File

@ -30,9 +30,7 @@
#define STABLE_H #define STABLE_H
/* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */ /* I like to include this pragma too, so the build log indicates if pre-compiled headers were in use. */
#ifndef __clang__
#pragma message("Compiling precompiled headers for Valentina tests.\n") #pragma message("Compiling precompiled headers for Valentina tests.\n")
#endif
/* Add C includes here */ /* Add C includes here */