summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authorljo <ljo@FreeBSD.org>1994-11-16 14:02:42 +0000
committerljo <ljo@FreeBSD.org>1994-11-16 14:02:42 +0000
commit0cbabcf40fb04b5e1dd6d21c9febc638f8734018 (patch)
treef8b290fb60fe4f4c2dc7e5d31eb880b46d303be7 /gnu/usr.bin/cc
parent9ff5ea124ce072662633bff81d4a9123e89073d1 (diff)
downloadFreeBSD-src-0cbabcf40fb04b5e1dd6d21c9febc638f8734018.zip
FreeBSD-src-0cbabcf40fb04b5e1dd6d21c9febc638f8734018.tar.gz
Added NO_IMPLICIT_C as our header files in standard locations are either
already C++ safe, or C++ header files. This fixes the problem with parse errors in header files when compiling C++ files. Recompiling libg++ also solves the undefined synbols problem.
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/include/i386/bsd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/include/i386/bsd.h b/gnu/usr.bin/cc/include/i386/bsd.h
index 8aec304..abc9f0e 100644
--- a/gnu/usr.bin/cc/include/i386/bsd.h
+++ b/gnu/usr.bin/cc/include/i386/bsd.h
@@ -22,6 +22,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
/* Include common aspects of all 386 Unix assemblers. */
#include "i386/unix.h"
+/* Don't assume anything about the header files. */
+#define NO_IMPLICIT_EXTERN_C
+
/* Use the Sequent Symmetry assembler syntax. */
#define TARGET_VERSION fprintf (stderr, " (80386, BSD syntax)");
OpenPOWER on IntegriCloud