[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 02/02: Don't use C++ comment format for header files needed with
From: |
Werner LEMBERG |
Subject: |
[groff] 02/02: Don't use C++ comment format for header files needed with C compilation. |
Date: |
Sat, 27 Sep 2014 05:54:25 +0000 |
wl pushed a commit to branch master
in repository groff.
commit fe4dae94c1a0c4093c7259a669db1d9da333cb8d
Author: Werner Lemberg <address@hidden>
Date: Sat Sep 27 07:49:09 2014 +0200
Don't use C++ comment format for header files needed with C compilation.
In particular, it makes the `configure' script produce incorrect output
(setting e.g. GROFF_PATH_SEPARATOR incorrectly to `;' on a POSIX platform)
and compilation fail with gcc's `-ansi' and `-pedantic' options, which
reject `//' completely.
---
src/include/DviChar.h | 2 +-
src/include/gettext.h | 2 +-
src/include/nonposix.h | 2 +-
src/include/relocate.h | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/include/DviChar.h b/src/include/DviChar.h
index 7180752..bd9088f 100644
--- a/src/include/DviChar.h
+++ b/src/include/DviChar.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C -*- */
/* Copyright (C) 2014 Free Software Foundation, Inc.
This file is part of groff.
diff --git a/src/include/gettext.h b/src/include/gettext.h
index 4be6b5e..feadcaf 100644
--- a/src/include/gettext.h
+++ b/src/include/gettext.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C -*- */
/* Copyright (C) 2014 Free Software Foundation, Inc.
This file is part of groff.
diff --git a/src/include/nonposix.h b/src/include/nonposix.h
index ee317d3..fbd2823 100644
--- a/src/include/nonposix.h
+++ b/src/include/nonposix.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C -*- */
/* Copyright (C) 2000-2014 Free Software Foundation, Inc.
Written by Eli Zaretskii (address@hidden)
diff --git a/src/include/relocate.h b/src/include/relocate.h
index 46b5c08..905dcbb 100644
--- a/src/include/relocate.h
+++ b/src/include/relocate.h
@@ -1,4 +1,4 @@
-// -*- C++ -*-
+/* -*- C -*- */
/* Provide relocation for macro and font files.
Copyright (C) 2005-2014 Free Software Foundation, Inc.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 02/02: Don't use C++ comment format for header files needed with C compilation.,
Werner LEMBERG <=