Fix missing #error pragma
authorIvan Maidanski <ivmai@mail.ru>
Wed, 12 Oct 2016 19:42:41 +0000 (22:42 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Wed, 12 Oct 2016 19:45:16 +0000 (22:45 +0300)
* dyn_load.c [DYNAMIC_LOADING && !PCR && !DARWIN]: Replace "-->" with
* dyn_load.c [SOLARISDL && !PCR && !GC_SOLARIS_THREADS && THREADS]:
Likewise.
* include/private/gc_hdrs [CPP_WORDSZ!=32 && CPP_WORDSZ<36]: Likewise.
* include/private/gc_priv.h [!HBLKSIZE]: Likewise.
* pthread_stop_world.c [!NSIG]: Likewise.

dyn_load.c
include/private/gc_hdrs.h
include/private/gc_priv.h
pthread_stop_world.c

index c1d5949..cdcebe2 100644 (file)
@@ -60,8 +60,8 @@ STATIC GC_has_static_roots_func GC_has_static_roots = 0;
     && !((defined(LINUX) || defined(NACL)) && defined(__ELF__)) \
     && !(defined(NETBSD) && defined(__ELF__)) && !defined(HURD) \
     && !(defined(OPENBSD) && (defined(__ELF__) || defined(M68K)))
- --> We only know how to find data segments of dynamic libraries for the
- --> above.  Additional SVR4 variants might not be too hard to add.
+# error We only know how to find data segments of dynamic libraries for above.
+# error Additional SVR4 variants might not be too hard to add.
 #endif
 
 #include <stdio.h>
@@ -213,7 +213,7 @@ GC_FirstDLOpenedLinkMap(void)
 
 /* Add dynamic library data sections to the root set.           */
 # if !defined(PCR) && !defined(GC_SOLARIS_THREADS) && defined(THREADS)
-        --> fix mutual exclusion with dlopen
+#   error Fix mutual exclusion with dlopen
 # endif
 
 # ifndef USE_PROC_FOR_LIBRARIES
index 8991428..4540ac6 100644 (file)
@@ -18,7 +18,7 @@
 typedef struct hblkhdr hdr;
 
 #if CPP_WORDSZ != 32 && CPP_WORDSZ < 36
-        --> Get a real machine.
+# error Get a real machine
 #endif
 
 /*
index 3a732c7..0852d48 100644 (file)
@@ -762,7 +762,7 @@ GC_EXTERN GC_warn_proc GC_current_warn_proc;
 # elif HBLKSIZE == 16384
 #   define CPP_LOG_HBLKSIZE 14
 # else
-    --> fix HBLKSIZE
+#   error fix HBLKSIZE
 # endif
 # undef HBLKSIZE
 #endif
index dad1fdc..828a4ed 100644 (file)
@@ -63,7 +63,7 @@
 #   elif defined(__SIGRTMAX)
 #     define NSIG (__SIGRTMAX+1)
 #   else
-      --> please fix it
+#     error define NSIG
 #   endif
 # endif /* NSIG */