guile-devel
[Top][All Lists]
Advanced

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

Re: Everyone working on the C side might want to read this article...


From: Rob Browning
Subject: Re: Everyone working on the C side might want to read this article...
Date: Mon, 28 Apr 2003 17:30:41 -0500
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3 (i386-pc-linux-gnu)

Bruce Korb <address@hidden> writes:

> The default optimization is sufficient for many of the aliasing
> problems.  If you compile with the GCC 3.3 branch -Wall will trigger
> some extra aliasing-related warnings.  Examine the warnings carefully.
> Remember that just because it didn't warn doesn't mean there isn't
> a problem.  However, the warnings do actually cover most of the common
> ways aliasing breaks code.

Anyone running Debian who's interested in working on this, try

  # apt-get install gcc-3.3

  $ cd src/guile/head/
  $ CC=gcc-3.3 ./configure ...
  $ make clean
  $ make

This shouldn't affect your existing gcc 3.2 install, i.e. gcc
--version should still give you 3.2...

We use -Wall -Werror by default now (in the unstable branch), so
you'll get those options automatically.  From an initial test, it
looks like we've at least got a new slew of signed/unsigned compare
warnings.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592  F9A0 25C8 D377 8C7E 73A4




reply via email to

[Prev in Thread] Current Thread [Next in Thread]