Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Bryan Walsh <simguy@cox.net>
Subject: cxx -std strict_ansi and C header files
Date: Mon, 19 Jan 2004 20:46:40 -0700	[thread overview]
Message-ID: <Iy1Pb.3997$ce2.3248@okepread03> (raw)

Hi All,

I've been playing around with the -std strict_ansi flag with cxx version 
6.5.  One thing that it does, besides changing the way the standard 
header files   (iostream,cmath,etc) work, is that it also affects a 
number of other header files in weird ways.  For example:

-including semaphore.h, yields undefined macro definitons
-including cstdlib, or stlib.h no longer prototypes the srandom and 
random functions.
-including setjmp.h, no longer prototypes the sigsetjmp and siglongjmp 
functions.

Has anybody else experienced these difficulties? Does anybody have any 
workarounds?

Any help would be appreciated!

Thank You,

Bryan Walsh



             reply	other threads:[~2004-01-20  3:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-20  3:46 Bryan Walsh [this message]
2004-01-20  7:40 ` cxx -std strict_ansi and C header files David Donald Hooton
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox