Adding warning removal pragma
This commit is contained in:
parent
40c412d7ea
commit
776926141f
|
@ -19,6 +19,7 @@
|
|||
/* wx_motif, for wxTimer: */
|
||||
#ifdef __GNUG__
|
||||
# pragma implementation "wx_timer.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#include "common.h"
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#if defined(__GNUC__)
|
||||
# define MAYBE_UNUSED __attribute__((unused))
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#else
|
||||
# define MAYBE_UNUSED
|
||||
#endif
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
|
||||
/****************************************************************/
|
||||
/* This command-line parser is used by both Racket and Gracket. */
|
||||
/****************************************************************/
|
||||
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
|
||||
#define SDESC "Set! works on undefined identifiers"
|
||||
|
||||
char *cmdline_exe_hack =
|
||||
|
|
|
@ -24,7 +24,10 @@
|
|||
* USA.
|
||||
*/
|
||||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#ifdef wx_xt
|
||||
# define Uses_wxApp
|
||||
|
|
|
@ -10,6 +10,9 @@
|
|||
|
||||
/* This file is the same for all three version of wxWindows from
|
||||
PLT. */
|
||||
#ifdef __GNUG__
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
# include "wx.h"
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "AppMain.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "TypeTree.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_wxTypeTree
|
||||
|
|
|
@ -23,6 +23,9 @@
|
|||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
* 02110-1301 USA.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#include "wx.h"
|
||||
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "Font.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XLib
|
||||
|
|
|
@ -10,6 +10,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_wxApp
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "Button.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "Canvas.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "CheckBox.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "Frame.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "ListBox.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "Menu.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "Message.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsic
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma implementation "Window.h"
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define Uses_XtIntrinsicP
|
||||
|
|
|
@ -29,6 +29,7 @@
|
|||
|
||||
#ifdef __GNUG__
|
||||
#pragma interface
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#ifdef Have_Xt_Types
|
||||
|
|
|
@ -56,7 +56,9 @@
|
|||
* Phone: (215) 898-8813
|
||||
* EMail: bradley@cis.upenn.edu
|
||||
*/
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "wx_image.h"
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
*
|
||||
* This software is provided "as is" without any express or implied warranty.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "wx_image.h"
|
||||
|
|
|
@ -26,6 +26,9 @@
|
|||
* DAMAGE, AND ON ANY THEORY OF LIABILITY, ARISING OUT OF OR IN CONNECTION WITH
|
||||
* THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
*/
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#ifdef wx_xview
|
||||
#include <stdlib.h>
|
||||
|
|
|
@ -34,7 +34,9 @@
|
|||
*
|
||||
* This software is provided "as is" without any express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#define NEEDSTIME
|
||||
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
*
|
||||
* This software is provided "as is" without any express or implied warranty.
|
||||
*/
|
||||
|
||||
#ifdef __GNUC__
|
||||
#pragma GCC diagnostic ignored "-Wwrite-strings"
|
||||
#endif
|
||||
|
||||
#include <stdlib.h>
|
||||
#include "wx_image.h"
|
||||
|
|
Loading…
Reference in New Issue
Block a user