Re: BDECFLAGS in make.conf

2007-08-30 Thread Kris Kennaway

Andrey Shuvikov wrote:

Hi,

The example make.conf has a comment about BDECFLAGS variable, which is
suggested for use in developing FreeBSD. But when I tried to use it
make buildworld fails (inline is not defined). Is this variable
really supposed to be in make.conf, or did I misunderstand something?


Yes, you misunderstood.  If you are developing FreeBSD you can enable 
this in your code for high levels of compiler strictness, to chase out 
possible bugs in your code.  The FreeBSD build process itself already 
enables suitable levels of warnings in individual makefiles.


Kris
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: BDECFLAGS in make.conf

2007-08-30 Thread Pietro Cerutti
Andrey Shuvikov wrote:
 Hi,
 
 The example make.conf has a comment about BDECFLAGS variable, which is
 suggested for use in developing FreeBSD. But when I tried to use it
 make buildworld fails (inline is not defined). Is this variable
 really supposed to be in make.conf, or did I misunderstand something?

Though very useful, the BDECFLAGS are a bit old.
The problem here is that inline is a C99 feature, while the BDECFLAGS
contain the -ansi switch, which rejects all programs not conforming with
the C90 standard.
I'm sure that inline is not the only thing of FreeBSD which isn't
conforming to ansi C (not to say that's a bad thing).

As a remark, I would suggest not only to use them in developing FreeBSD,
but also in developing /*on*/ FreeBSD.

 
 Thanks a lot,
 Andrey
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]


-- 
Pietro Cerutti

PGP Public Key:
http://gahr.ch/pgp



signature.asc
Description: OpenPGP digital signature