chiark / gitweb /
-Wno-strict-alias
authorian <ian>
Wed, 18 Oct 2006 15:58:55 +0000 (15:58 +0000)
committerian <ian>
Wed, 18 Oct 2006 15:58:55 +0000 (15:58 +0000)
base/common.make
debian/changelog

index 6e3852a88ea180a4a6e063400dda7c31bf162305..bc86488cd67df6a49c64308fc22b7bcb3daef4b3 100644 (file)
@@ -33,6 +33,10 @@ ifeq ($(shell $(CC) -Wno-pointer-sign -E -x c /dev/null >/dev/null || echo x),)
 CFLAGS +=      -Wno-pointer-sign
 endif
 
+ifeq ($(shell $(CC) -Wno-strict-alias -E -x c /dev/null >/dev/null || echo x),)
+CFLAGS +=      -Wno-strict-alias
+endif
+
 CFLAGS +=      -g -Wall -Wmissing-prototypes -Wstrict-prototypes -Werror \
                $(OPTIMISE)
 CPPFLAGS +=    -I$(TCL_INCLUDEDIR) -I$(BASE_DIR)
index e9904d4f3355feb34d9df63632e600b394f0cf17..5d25ce78d5588467586847afd85d61d786dc764b 100644 (file)
@@ -9,8 +9,9 @@ chiark-tcl (1.0.1) unstable; urgency=low
     since we need adns_init_logfn.  Closes: #382287.
   * Declare build-dependency on libcdb-dev | tinycdb (<= 0.75)
     since cdb.h etc. is in libcdb-dev off nowadays.  Closes: #387904.
+  * Pass -Wno-strict-alias.  The compiler is wrong.
 
- -- Ian Jackson <ian@davenant.greenend.org.uk>  Wed, 18 Oct 2006 16:49:19 +0100
+ -- Ian Jackson <ian@davenant.greenend.org.uk>  Wed, 18 Oct 2006 16:58:37 +0100
 
 chiark-tcl (1.0.0.99.iwj.2) unstable; urgency=low