From: Václav Slavík Date: Fri, 7 Jan 2005 21:33:15 +0000 (+0000) Subject: fixed condition for using #pragmas X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/c575e45a24711793f98959a1f394a9e528c3129a?ds=inline fixed condition for using #pragmas git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/xrc/xh_bmp.cpp b/src/xrc/xh_bmp.cpp index ad56a9add2..47356ff0ed 100644 --- a/src/xrc/xh_bmp.cpp +++ b/src/xrc/xh_bmp.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_bmp.h" #endif diff --git a/src/xrc/xh_bmpbt.cpp b/src/xrc/xh_bmpbt.cpp index b102618c13..81b805b116 100644 --- a/src/xrc/xh_bmpbt.cpp +++ b/src/xrc/xh_bmpbt.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_bmpbt.h" #endif diff --git a/src/xrc/xh_bttn.cpp b/src/xrc/xh_bttn.cpp index f6b4cffd2f..971b49ce29 100644 --- a/src/xrc/xh_bttn.cpp +++ b/src/xrc/xh_bttn.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_bttn.h" #endif diff --git a/src/xrc/xh_cald.cpp b/src/xrc/xh_cald.cpp index 67fa6e5edf..2f9399a2db 100644 --- a/src/xrc/xh_cald.cpp +++ b/src/xrc/xh_cald.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_cald.h" #endif diff --git a/src/xrc/xh_chckb.cpp b/src/xrc/xh_chckb.cpp index 3731c6b889..ffb27630eb 100644 --- a/src/xrc/xh_chckb.cpp +++ b/src/xrc/xh_chckb.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_chckb.h" #endif diff --git a/src/xrc/xh_chckl.cpp b/src/xrc/xh_chckl.cpp index 536c011ae6..8ed6fef709 100644 --- a/src/xrc/xh_chckl.cpp +++ b/src/xrc/xh_chckl.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_chckl.h" #endif diff --git a/src/xrc/xh_choic.cpp b/src/xrc/xh_choic.cpp index 29262cc59e..c136713d66 100644 --- a/src/xrc/xh_choic.cpp +++ b/src/xrc/xh_choic.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_choic.h" #endif diff --git a/src/xrc/xh_combo.cpp b/src/xrc/xh_combo.cpp index 16b11715a6..837633de09 100644 --- a/src/xrc/xh_combo.cpp +++ b/src/xrc/xh_combo.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_combo.h" #endif diff --git a/src/xrc/xh_dlg.cpp b/src/xrc/xh_dlg.cpp index b377eab61c..235a352fd5 100644 --- a/src/xrc/xh_dlg.cpp +++ b/src/xrc/xh_dlg.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_dlg.h" #endif diff --git a/src/xrc/xh_frame.cpp b/src/xrc/xh_frame.cpp index 3b924e27d5..b88359aa1d 100644 --- a/src/xrc/xh_frame.cpp +++ b/src/xrc/xh_frame.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_frame.h" #endif diff --git a/src/xrc/xh_gauge.cpp b/src/xrc/xh_gauge.cpp index c529b21cbf..55e42a744c 100644 --- a/src/xrc/xh_gauge.cpp +++ b/src/xrc/xh_gauge.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_gauge.h" #endif diff --git a/src/xrc/xh_gdctl.cpp b/src/xrc/xh_gdctl.cpp index 46e1add183..37a01cecc7 100644 --- a/src/xrc/xh_gdctl.cpp +++ b/src/xrc/xh_gdctl.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_gdctl.h" #endif diff --git a/src/xrc/xh_html.cpp b/src/xrc/xh_html.cpp index 7bdf27ed8f..f7fe6ae91f 100644 --- a/src/xrc/xh_html.cpp +++ b/src/xrc/xh_html.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_html.h" #endif diff --git a/src/xrc/xh_listb.cpp b/src/xrc/xh_listb.cpp index 939d6e834c..a94406affb 100644 --- a/src/xrc/xh_listb.cpp +++ b/src/xrc/xh_listb.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_listb.h" #endif diff --git a/src/xrc/xh_listc.cpp b/src/xrc/xh_listc.cpp index 6746b83224..4a0c1f252a 100644 --- a/src/xrc/xh_listc.cpp +++ b/src/xrc/xh_listc.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_listc.h" #endif diff --git a/src/xrc/xh_menu.cpp b/src/xrc/xh_menu.cpp index 4d79129b84..f45c8ec5f1 100644 --- a/src/xrc/xh_menu.cpp +++ b/src/xrc/xh_menu.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_menu.h" #endif diff --git a/src/xrc/xh_notbk.cpp b/src/xrc/xh_notbk.cpp index 14a60c8536..596df57b36 100644 --- a/src/xrc/xh_notbk.cpp +++ b/src/xrc/xh_notbk.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_notbk.h" #endif diff --git a/src/xrc/xh_panel.cpp b/src/xrc/xh_panel.cpp index 6b6a467e19..d059aebba8 100644 --- a/src/xrc/xh_panel.cpp +++ b/src/xrc/xh_panel.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_panel.h" #endif diff --git a/src/xrc/xh_radbt.cpp b/src/xrc/xh_radbt.cpp index 0b84a58d96..a4a07a74ed 100644 --- a/src/xrc/xh_radbt.cpp +++ b/src/xrc/xh_radbt.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_radbt.h" #endif diff --git a/src/xrc/xh_radbx.cpp b/src/xrc/xh_radbx.cpp index 066f397d1e..07a98db9b8 100644 --- a/src/xrc/xh_radbx.cpp +++ b/src/xrc/xh_radbx.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_radbx.h" #endif diff --git a/src/xrc/xh_scrol.cpp b/src/xrc/xh_scrol.cpp index bbb52bdbd2..7d8ae34728 100644 --- a/src/xrc/xh_scrol.cpp +++ b/src/xrc/xh_scrol.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_scrol.h" #endif diff --git a/src/xrc/xh_scwin.cpp b/src/xrc/xh_scwin.cpp index 886da64ce0..dababb288f 100644 --- a/src/xrc/xh_scwin.cpp +++ b/src/xrc/xh_scwin.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_scwin.h" #endif diff --git a/src/xrc/xh_sizer.cpp b/src/xrc/xh_sizer.cpp index 806370b3a6..248b7f2fad 100644 --- a/src/xrc/xh_sizer.cpp +++ b/src/xrc/xh_sizer.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_sizer.h" #endif diff --git a/src/xrc/xh_slidr.cpp b/src/xrc/xh_slidr.cpp index 3ca8b26aa7..8e4b7e74a7 100644 --- a/src/xrc/xh_slidr.cpp +++ b/src/xrc/xh_slidr.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_slidr.h" #endif diff --git a/src/xrc/xh_spin.cpp b/src/xrc/xh_spin.cpp index 3398ffaad1..616537b27c 100644 --- a/src/xrc/xh_spin.cpp +++ b/src/xrc/xh_spin.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_spin.h" #endif diff --git a/src/xrc/xh_split.cpp b/src/xrc/xh_split.cpp index 948b241ec1..c78d526066 100644 --- a/src/xrc/xh_split.cpp +++ b/src/xrc/xh_split.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_split.h" #endif diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index 5dead981da..61b421a0d4 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_statbar.h" #endif diff --git a/src/xrc/xh_stbmp.cpp b/src/xrc/xh_stbmp.cpp index 42f8073a91..8bd4bb2094 100644 --- a/src/xrc/xh_stbmp.cpp +++ b/src/xrc/xh_stbmp.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_stbmp.h" #endif diff --git a/src/xrc/xh_stbox.cpp b/src/xrc/xh_stbox.cpp index 93f21b42d2..14ef930b6a 100644 --- a/src/xrc/xh_stbox.cpp +++ b/src/xrc/xh_stbox.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_stbox.h" #endif diff --git a/src/xrc/xh_stlin.cpp b/src/xrc/xh_stlin.cpp index 025713ec14..c0edceee1c 100644 --- a/src/xrc/xh_stlin.cpp +++ b/src/xrc/xh_stlin.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_stlin.h" #endif diff --git a/src/xrc/xh_sttxt.cpp b/src/xrc/xh_sttxt.cpp index da772ef416..9397992d87 100644 --- a/src/xrc/xh_sttxt.cpp +++ b/src/xrc/xh_sttxt.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_sttxt.h" #endif diff --git a/src/xrc/xh_text.cpp b/src/xrc/xh_text.cpp index 745189008d..550c9e43f6 100644 --- a/src/xrc/xh_text.cpp +++ b/src/xrc/xh_text.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_text.h" #endif diff --git a/src/xrc/xh_tglbtn.cpp b/src/xrc/xh_tglbtn.cpp index 1974ab14d1..637e238434 100644 --- a/src/xrc/xh_tglbtn.cpp +++ b/src/xrc/xh_tglbtn.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_tglbtn.h" #endif diff --git a/src/xrc/xh_toolb.cpp b/src/xrc/xh_toolb.cpp index b21a906e63..53c5088d4f 100644 --- a/src/xrc/xh_toolb.cpp +++ b/src/xrc/xh_toolb.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_toolb.h" #endif diff --git a/src/xrc/xh_tree.cpp b/src/xrc/xh_tree.cpp index 5c892ebc77..d9ee3ad6d6 100644 --- a/src/xrc/xh_tree.cpp +++ b/src/xrc/xh_tree.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_tree.h" #endif diff --git a/src/xrc/xh_unkwn.cpp b/src/xrc/xh_unkwn.cpp index f9b5648036..0dae73bc63 100644 --- a/src/xrc/xh_unkwn.cpp +++ b/src/xrc/xh_unkwn.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_unkwn.h" #endif diff --git a/src/xrc/xh_wizrd.cpp b/src/xrc/xh_wizrd.cpp index 2b9508ae05..fad0e1c557 100644 --- a/src/xrc/xh_wizrd.cpp +++ b/src/xrc/xh_wizrd.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xh_wizrd.h" #endif diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index a817ecd7ba..0486728557 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -8,7 +8,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "xmlres.h" #endif diff --git a/src/xrc/xmlrsall.cpp b/src/xrc/xmlrsall.cpp index bf2eb99734..98cb54e3ad 100644 --- a/src/xrc/xmlrsall.cpp +++ b/src/xrc/xmlrsall.cpp @@ -9,7 +9,7 @@ ///////////////////////////////////////////////////////////////////////////// // -- Already done in xmlres.cpp -//#ifdef __GNUG__ +//#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) //#pragma implementation "xmlres.h" //#endif