[libsigc++2] Use #error explicitly instead of broken code



commit 46d2fcbafd845c6963f9cbc0429166c546ea3e21
Author: Daniel Elstner <danielk openismus com>
Date:   Fri Aug 7 16:35:08 2009 +0200

    Use #error explicitly instead of broken code
    
    * sigc++config.h.in: Do use the #error preprocessor directive,
    instead of an errornous piece of code.  This code does not need
    the same level of obfuscation as an Autoconf feature test.

 ChangeLog         |    8 ++++++++
 sigc++config.h.in |    2 +-
 2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7499520..e746991 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-08-07  Daniel Elstner  <danielk openismus com>
 
+	Use #error explicitly instead of broken code
+
+	* sigc++config.h.in: Do use the #error preprocessor directive,
+	instead of an errornous piece of code.  This code does not need
+	the same level of obfuscation as an Autoconf feature test.
+
+2009-08-07  Daniel Elstner  <danielk openismus com>
+
 	Change bug report URL to point to Bugzilla
 
 	* configure.ac (AC_INIT): Change the bug-report argument to the
diff --git a/sigc++config.h.in b/sigc++config.h.in
index 73e12de..2e05e15 100644
--- a/sigc++config.h.in
+++ b/sigc++config.h.in
@@ -38,7 +38,7 @@
 #  define SIGC_WIN32 1
 #  define SIGC_CONFIGURE 1
 # else
-   error "libsigc++ config: Unknown win32 architecture (send me gcc --dumpspecs or equiv)"
+#  error "libsigc++ config: Unknown win32 architecture (send me gcc --dumpspecs or equiv)"
 # endif
 #else /* !_WIN32 */
 # define SIGC_CONFIGURE 1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]