]> granicus.if.org Git - gc/commitdiff
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>
Tue, 1 Nov 2016 22:44:11 +0000 (01:44 +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 831e5e2324f753b268fcc54aab633f290e15f1f7..64ce06da42c8d3663d8edf222675d2ff55a24a4b 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 89914284b5aa35f54be608ef79e57aa8447f753a..4540ac6b038056704c06d02da758807e402fbffb 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 f77281d428d21f20cc45d449ee3980a2b8c91b37..62ac0e383e9dcbf2b12f2ac517bbca547dde5dab 100644 (file)
@@ -764,7 +764,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 dad1fdc9aec8f0ea227feb29c85acc7f7c5152b4..828a4ed59e9d56d122d33709efee0cdaba95f59f 100644 (file)
@@ -63,7 +63,7 @@
 #   elif defined(__SIGRTMAX)
 #     define NSIG (__SIGRTMAX+1)
 #   else
-      --> please fix it
+#     error define NSIG
 #   endif
 # endif /* NSIG */