Terry Lambert wrote:
>
> Alp Atici wrote:
> > Is gcc 3.x going to be the default compiler starting from
> > FBSD 5.x series? Is the development on current branch
> > compiled using gcc 3.0 (or up)?
>
> I think that the cut over will happen after the compiler
> no longer core dumps on:
Odd, I can't reproduce that under RedHat:
RedHat <gypsy/pts/0> (5 ~): cat gcctest.c
main()
{
int i;
i = foo();
switch( i) {
default:
printf( "hello, stupid compiler!\n");
break;
}
}
int
foo()
{
return( 6);
}
RedHat <gypsy/pts/0> (6 ~): gcc3 -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux
Thread model: posix
gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3)
RedHat <gypsy/pts/0> (7 ~): gcc3 -Wall -pedantic -o gcctest gcctest.c
gcctest.c:2: warning: return type defaults to `int'
gcctest.c: In function `main':
gcctest.c:5: warning: implicit declaration of function `foo'
gcctest.c:9: warning: implicit declaration of function `printf'
gcctest.c:12: warning: control reaches end of non-void function
RedHat <gypsy/pts/0> (8 ~): ./gcctest
hello, stupid compiler!
--
\ |_ _|__ __|_ \ __| Jason Andresen [EMAIL PROTECTED]
|\/ | | | / _| Network and Distributed Systems Engineer
_| _|___| _| _|_\___| Office: 703-883-7755
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message