Avoid failures in the namespace cleanliness check in .par grade on MinGW.

Branches: main, 11.07

Avoid failures in the namespace cleanliness check in .par grade on MinGW.

*/RESERVED_MACRO_NAMES:
	Add some macros automatically defined by GCC on MinGW.
This commit is contained in:
Julien Fischer
2011-09-14 07:00:44 +00:00
parent 6433812500
commit 5b1105b6a3
6 changed files with 54 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 2000-2004, 2006 The University of Melbourne.
# Copyright (C) 2000-2004, 2006, 2011 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -62,6 +62,14 @@ _GNU_SOURCE
__EXTENSIONS__
__OPTIMIZE__
__STRICT_ANSI__
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
__i686
__i686__
__pentiumpro
__pentiumpro__
#-----------------------------------------------------------------------------#
# These are defined in when threads are enabled.
_REENTRANT

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 2000-2004, 2006 The University of Melbourne.
# Copyright (C) 2000-2004, 2006, 2011 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -62,6 +62,14 @@ _GNU_SOURCE
__EXTENSIONS__
__OPTIMIZE__
__STRICT_ANSI__
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
__i686
__i686__
__pentiumpro
__pentiumpro__
#-----------------------------------------------------------------------------#
# These are defined in exception.m. They are used to map this set of six
# names, one for each declared mode of builtin.catch/3, down to the three

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 2000-2004, 2006 The University of Melbourne.
# Copyright (C) 2000-2004, 2006, 2011 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -62,6 +62,14 @@ _GNU_SOURCE
__EXTENSIONS__
__OPTIMIZE__
__STRICT_ANSI__
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
__i686
__i686__
__pentiumpro
__pentiumpro__
#-----------------------------------------------------------------------------#
# These are defined in when threads are enabled.
_REENTRANT

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 2000-2004, 2006 The University of Melbourne.
# Copyright (C) 2000-2004, 2006, 2011 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -68,6 +68,14 @@ _GNU_SOURCE
__EXTENSIONS__
__GCC_HAVE_DWARF2_CFI_ASM
__OPTIMIZE__
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
__i686
__i686__
__pentiumpro
__pentiumpro__
#-----------------------------------------------------------------------------#
# These are defined in when threads are enabled.
_REENTRANT

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 2007 The University of Melbourne.
# Copyright (C) 2007, 2011 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -62,6 +62,14 @@ _GNU_SOURCE
__EXTENSIONS__
__OPTIMIZE__
__STRICT_ANSI__
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
__i686
__i686__
__pentiumpro
__pentiumpro__
#-----------------------------------------------------------------------------#
# These are defined when threads are enabled.
_REENTRANT

View File

@@ -1,5 +1,5 @@
#-----------------------------------------------------------------------------#
# Copyright (C) 2000-2004, 2006 The University of Melbourne.
# Copyright (C) 2000-2004, 2006, 2011 The University of Melbourne.
# This file may only be copied under the terms of the GNU General
# Public License - see the file COPYING in the Mercury distribution.
#-----------------------------------------------------------------------------#
@@ -67,6 +67,14 @@ NO_SIGNALS
_GNU_SOURCE
__EXTENSIONS__
__OPTIMIZE__
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
__GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
__i686
__i686__
__pentiumpro
__pentiumpro__
#-----------------------------------------------------------------------------#
# These are defined in when threads are enabled.
_REENTRANT