diff options
author | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-01-05 00:32:38 +0000 |
---|---|---|
committer | Pedro F. Giffuni <pfg@FreeBSD.org> | 2014-01-05 00:32:38 +0000 |
commit | e1b3bb53802681c9b47e2c09bc725c2dfff95958 (patch) | |
tree | 41352df67b0bde40419570461e43784752e49325 /contrib/gcc | |
parent | b3a6fedaecc19bf211f697b4c664c4d74fe8d4ab (diff) | |
download | src-e1b3bb53802681c9b47e2c09bc725c2dfff95958.tar.gz src-e1b3bb53802681c9b47e2c09bc725c2dfff95958.zip |
libcpp: misc fixes from Apple's GCC.
Fixes some bugs detected by Apple:
#error with unmatched quotes
pragma mark
Obtained from: Apple GCC 4.2 - 5553
MFC after: 1 week
Notes
Notes:
svn path=/head/; revision=260310
Diffstat (limited to 'contrib/gcc')
-rw-r--r-- | contrib/gcc/config/darwin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/contrib/gcc/config/darwin.h b/contrib/gcc/config/darwin.h index e732217eb6ba..4164e6819ab6 100644 --- a/contrib/gcc/config/darwin.h +++ b/contrib/gcc/config/darwin.h @@ -873,7 +873,9 @@ enum machopic_addr_class { #define DARWIN_REGISTER_TARGET_PRAGMAS() \ do { \ - c_register_pragma (0, "mark", darwin_pragma_ignore); \ + /* APPLE LOCAL begin pragma mark 5614511 */ \ + /* Removed mark. */ \ + /* APPLE LOCAL end pragma mark 5614511 */ \ c_register_pragma (0, "options", darwin_pragma_options); \ c_register_pragma (0, "segment", darwin_pragma_ignore); \ c_register_pragma (0, "unused", darwin_pragma_unused); \ |