Re: __STDC__ removal?

2002-05-29 Thread Peter Wemm

Alfred Perlstein wrote:
 NetBSD is nuking almost all __STDC__ usages because it's always
 defined.  Do we want to do the same?  The exception I've seen
 is for assembler files where old style C is needed to avoid
 conflicts.

Umm, do we need it there in asm headers?  We do not use the traditional cpp
for our assembler files.  I would be suprised if we needed it.  In fact, I
would be suprised if we build with -traditional any more.

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: __STDC__ removal?

2002-05-29 Thread Alfred Perlstein

* Peter Wemm [EMAIL PROTECTED] [020529 00:42] wrote:
 Alfred Perlstein wrote:
  NetBSD is nuking almost all __STDC__ usages because it's always
  defined.  Do we want to do the same?  The exception I've seen
  is for assembler files where old style C is needed to avoid
  conflicts.
 
 Umm, do we need it there in asm headers?  We do not use the traditional cpp
 for our assembler files.  I would be suprised if we needed it.  In fact, I
 would be suprised if we build with -traditional any more.

Well then we can nuke it from asm files too!  Whee!

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using 1970s technology,
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: __STDC__ removal?

2002-05-29 Thread Peter Wemm

Alfred Perlstein wrote:
 * Peter Wemm [EMAIL PROTECTED] [020529 00:42] wrote:
  Alfred Perlstein wrote:
   NetBSD is nuking almost all __STDC__ usages because it's always
   defined.  Do we want to do the same?  The exception I've seen
   is for assembler files where old style C is needed to avoid
   conflicts.
  
  Umm, do we need it there in asm headers?  We do not use the traditional cpp
  for our assembler files.  I would be suprised if we needed it.  In fact, I
  would be suprised if we build with -traditional any more.
 
 Well then we can nuke it from asm files too!  Whee!

Well, subject of course to it actually working.. :-)

Cheers,
-Peter
--
Peter Wemm - [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
All of this is for nothing if we don't go to the stars - JMS/B5


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: __STDC__ removal?

2002-05-27 Thread Mark Murray

I'd support this. Makes maintaining the code a lot cleaner.

M

 NetBSD is nuking almost all __STDC__ usages because it's always
 defined.  Do we want to do the same?  The exception I've seen
 is for assembler files where old style C is needed to avoid
 conflicts.
 
 mrouted/cfparse.y:#ifdef __STDC__
 mrouted/cfparse.y:#ifdef __STDC__
 mrouted/cfparse.y:#ifdef __STDC__
 mrouted/defs.h:#ifdef __STDC__
 mrouted/defs.h:#if defined(__STDC__) || defined(__GNUC__)
 mrouted/main.c:#ifdef __STDC__
 mrouted/main.c:#ifdef __STDC__
 mrouted/mapper.c:#ifdef __STDC__
 mrouted/mapper.c:#ifdef __STDC__
 mrouted/mrinfo.c:#ifdef __STDC__
 mrouted/mrinfo.c:#ifdef __STDC__
 mrouted/mtrace.c:#ifdef __STDC__
 mrouted/mtrace.c:#ifdef __STDC__
 mrouted/mtrace.c:#ifdef __STDC__
 mrouted/mtrace.h:#if defined(__STDC__) || defined(__GNUC__)
 mtree/create.c:#if __STDC__
 mtree/create.c:#if __STDC__
 mtree/create.c:#if __STDC__
 pppd/main.c:#if __STDC__
 pppd/main.c:#if __STDC__
 pppd/options.c:#if __STDC__
 pppd/pppd.h:#if __STDC__
 route6d/route6d.c:#ifdef __STDC__
 route6d/route6d.c:#ifdef __STDC__
 route6d/route6d.c:#ifdef __STDC__
 route6d/route6d.c:#ifdef __STDC__
 route6d/route6d.c:#ifdef __STDC__
 route6d/route6d.c:#ifdef __STDC__
 route6d/route6d.c:#ifdef __STDC__
 rtsold/rtsold.c:#if __STDC__
 zic/zdump.c:#ifdef __STDC__
 zic/zdump.c:#endif /* defined __STDC__ */
 zic/zdump.c:#ifndef __STDC__
 zic/zdump.c:#endif /* !defined __STDC__ */
 
 ee/ee.c:#if defined(__STDC__) || defined(__cplusplus)
 ee/ee.c:#ifndef __STDC__
 ee/ee.c:#endif /* __STDC__ */
 ee/new_curse.c:#if defined(__STDC__)
 ee/new_curse.c:#if __STDC__ || defined(__cplusplus)
 ee/new_curse.c:#endif /* __STDC__ */
 ee/new_curse.c:#ifndef __STDC__
 ee/new_curse.c:#endif /* __STDC__ */
 ee/new_curse.c:#ifndef __STDC__
 ee/new_curse.c:#else /* __STDC__ */
 ee/new_curse.c:#endif /* __STDC__ */
 ee/new_curse.c:#ifndef __STDC__
 ee/new_curse.c:#ifndef __STDC__
 ee/new_curse.c:#else /* __STDC__ */
 ee/new_curse.c:#endif /* __STDC__ */
 ee/new_curse.c:#ifdef __STDC__
 ee/new_curse.c:#endif /* __STDC__ */
 ee/new_curse.h:#if __STDC__ || defined(__cplusplus)
 find/getdate.y:#if defined (__STDC__) || defined (USG)
 find/getdate.y:#if defined (__STDC__)
 lex/NEWS:   - Changed to only use '\a' for __STDC__ compilers.
 lex/NEWS: and free() for gcc, which defines __STDC__ but (often) doesn't
 lex/NEWS:   - Generated scanner uses prototypes and const for __STDC__.
 lex/flex.skl:#if __STDC__
 lex/flex.skl:#endif /* __STDC__ */
 lex/flex.skl:#if __STDC__
 lex/flexdef.h:#ifndef __STDC__
 lex/flexdef.h:#define __STDC__ 1
 lex/flexdef.h:#if __STDC__
 lex/initscan.c:#if __STDC__
 lex/initscan.c:#endif   /* __STDC__ */
 lex/initscan.c:#if __STDC__
 lex/misc.c:#if __STDC__
 lex/misc.c:#if __STDC__
 rpcgen/rpc_hout.c:  f_print(fout, \n#if 
defined(__STDC__) || defined(__cplusplus)\n);
 rpcgen/rpc_main.c:  f_print(fout, \n#if defined(__STDC__) || 
defined(__cplusplus)\n);
 telnet/externs.h:# ifdef__STDC__
 telnet/externs.h:# if defined(__STDC__)
 telnet/ring.h:#if defined(__STDC__) || defined(LINT_ARGS)
 yacc/skeleton.c:#if defined(__cplusplus) || __STDC__,
 yacc/skeleton.c:#if defined(__cplusplus) || __STDC__,
 yacc/skeleton.c:#if defined(__cplusplus) || __STDC__,
 
 
 -- 
 -Alfred Perlstein [[EMAIL PROTECTED]]
 'Instead of asking why a piece of software is using 1970s technology,
  start asking why software is ignoring 30 years of accumulated wisdom.'
 Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-hackers in the body of the message
-- 
o   Mark Murray
\_
O.\_Warning: this .sig is umop ap!sdn
#text/plain; name=cv.doc [Mark Murray CV Plain Text] cv.doc
#application/octet-stream; name=cv.pdf [Mark Murray CV PDF] cv.pdf

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: __STDC__ removal?

2002-05-27 Thread M. Warner Losh

In message: [EMAIL PROTECTED]
Alfred Perlstein [EMAIL PROTECTED] writes:
: NetBSD is nuking almost all __STDC__ usages because it's always
: defined.  Do we want to do the same?  The exception I've seen
: is for assembler files where old style C is needed to avoid
: conflicts.

I've already started doing the same.  Feel free to beat me to it,
however, since I don't have many in my queue right now.

Warner

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



Re: __STDC__ removal?

2002-05-27 Thread Alfred Perlstein

* M. Warner Losh [EMAIL PROTECTED] [020527 11:22] wrote:
 In message: [EMAIL PROTECTED]
 Alfred Perlstein [EMAIL PROTECTED] writes:
 : NetBSD is nuking almost all __STDC__ usages because it's always
 : defined.  Do we want to do the same?  The exception I've seen
 : is for assembler files where old style C is needed to avoid
 : conflicts.
 
 I've already started doing the same.  Feel free to beat me to it,
 however, since I don't have many in my queue right now.

I really havne't started, I just wanted to get the ball rolling
if it needed it. :)

-- 
-Alfred Perlstein [[EMAIL PROTECTED]]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message



__STDC__ removal?

2002-05-26 Thread Alfred Perlstein

NetBSD is nuking almost all __STDC__ usages because it's always
defined.  Do we want to do the same?  The exception I've seen
is for assembler files where old style C is needed to avoid
conflicts.

mrouted/cfparse.y:#ifdef __STDC__
mrouted/cfparse.y:#ifdef __STDC__
mrouted/cfparse.y:#ifdef __STDC__
mrouted/defs.h:#ifdef __STDC__
mrouted/defs.h:#if defined(__STDC__) || defined(__GNUC__)
mrouted/main.c:#ifdef __STDC__
mrouted/main.c:#ifdef __STDC__
mrouted/mapper.c:#ifdef __STDC__
mrouted/mapper.c:#ifdef __STDC__
mrouted/mrinfo.c:#ifdef __STDC__
mrouted/mrinfo.c:#ifdef __STDC__
mrouted/mtrace.c:#ifdef __STDC__
mrouted/mtrace.c:#ifdef __STDC__
mrouted/mtrace.c:#ifdef __STDC__
mrouted/mtrace.h:#if defined(__STDC__) || defined(__GNUC__)
mtree/create.c:#if __STDC__
mtree/create.c:#if __STDC__
mtree/create.c:#if __STDC__
pppd/main.c:#if __STDC__
pppd/main.c:#if __STDC__
pppd/options.c:#if __STDC__
pppd/pppd.h:#if __STDC__
route6d/route6d.c:#ifdef __STDC__
route6d/route6d.c:#ifdef __STDC__
route6d/route6d.c:#ifdef __STDC__
route6d/route6d.c:#ifdef __STDC__
route6d/route6d.c:#ifdef __STDC__
route6d/route6d.c:#ifdef __STDC__
route6d/route6d.c:#ifdef __STDC__
rtsold/rtsold.c:#if __STDC__
zic/zdump.c:#ifdef __STDC__
zic/zdump.c:#endif /* defined __STDC__ */
zic/zdump.c:#ifndef __STDC__
zic/zdump.c:#endif /* !defined __STDC__ */

ee/ee.c:#if defined(__STDC__) || defined(__cplusplus)
ee/ee.c:#ifndef __STDC__
ee/ee.c:#endif /* __STDC__ */
ee/new_curse.c:#if defined(__STDC__)
ee/new_curse.c:#if __STDC__ || defined(__cplusplus)
ee/new_curse.c:#endif /* __STDC__ */
ee/new_curse.c:#ifndef __STDC__
ee/new_curse.c:#endif /* __STDC__ */
ee/new_curse.c:#ifndef __STDC__
ee/new_curse.c:#else /* __STDC__ */
ee/new_curse.c:#endif /* __STDC__ */
ee/new_curse.c:#ifndef __STDC__
ee/new_curse.c:#ifndef __STDC__
ee/new_curse.c:#else /* __STDC__ */
ee/new_curse.c:#endif /* __STDC__ */
ee/new_curse.c:#ifdef __STDC__
ee/new_curse.c:#endif /* __STDC__ */
ee/new_curse.h:#if __STDC__ || defined(__cplusplus)
find/getdate.y:#if defined (__STDC__) || defined (USG)
find/getdate.y:#if defined (__STDC__)
lex/NEWS:   - Changed to only use '\a' for __STDC__ compilers.
lex/NEWS: and free() for gcc, which defines __STDC__ but (often) doesn't
lex/NEWS:   - Generated scanner uses prototypes and const for __STDC__.
lex/flex.skl:#if __STDC__
lex/flex.skl:#endif /* __STDC__ */
lex/flex.skl:#if __STDC__
lex/flexdef.h:#ifndef __STDC__
lex/flexdef.h:#define __STDC__ 1
lex/flexdef.h:#if __STDC__
lex/initscan.c:#if __STDC__
lex/initscan.c:#endif   /* __STDC__ */
lex/initscan.c:#if __STDC__
lex/misc.c:#if __STDC__
lex/misc.c:#if __STDC__
rpcgen/rpc_hout.c:  f_print(fout, \n#if 
defined(__STDC__) || defined(__cplusplus)\n);
rpcgen/rpc_main.c:  f_print(fout, \n#if defined(__STDC__) || 
defined(__cplusplus)\n);
telnet/externs.h:# ifdef__STDC__
telnet/externs.h:# if defined(__STDC__)
telnet/ring.h:#if defined(__STDC__) || defined(LINT_ARGS)
yacc/skeleton.c:#if defined(__cplusplus) || __STDC__,
yacc/skeleton.c:#if defined(__cplusplus) || __STDC__,
yacc/skeleton.c:#if defined(__cplusplus) || __STDC__,


-- 
-Alfred Perlstein [[EMAIL PROTECTED]]
'Instead of asking why a piece of software is using 1970s technology,
 start asking why software is ignoring 30 years of accumulated wisdom.'
Tax deductible donations for FreeBSD: http://www.freebsdfoundation.org/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message