stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <>
Subject Re: source/stdlib/time_put.cpp change
Date Fri, 30 Sep 2005 18:39:00 GMT
Kostas Pagratis wrote:
> When I use -LANG:non-std I get a warning message saying that non-std is
> not in group LANG

Yes, I also see the warning when I pass the option to the compiler.
The linker doesn't mind it, but it also doesn't seem to do anything
useful with it.

John mentioned that (the undocumented) -LANG:std=off did the trick
the last time you did the port. I just tried it and it still seems
to work (it fixed the Hello, World! core dump).


> Kostas Pagratis
> Consulting Engineer
> Rogue Wave Software
> a Quovadx(TM) Division
> (w) 303-545-3268
> (c) 303-817-1605
> -----Original Message-----
> From: Martin Sebor [] 
> Sent: Friday, September 30, 2005 12:15 PM
> To:
> Cc: Kostas Pagratis
> Subject: Re: source/stdlib/time_put.cpp change
> Martin Sebor wrote:
> [...]
>>Nicole mentioned some crashes in conjunction with these changes. I was
>>able to reproduce a crash in a simple Hello, World! program. The stack
>>trace below shows that the crash is due to an ODR violation: the
> program
>>contains both the native C++ Standard Library and ours. If you are
>>running into the same problem we will need to find a way to prevent
>>the linker from linking in the native library.
> The -LANG:non-std option is supposed to "Disable use of the standard
> C++ library and standard-conforming iostream library" according to
> this CC man page:
> 650&db=man&fname=1%20CC
> Unfortunately, it doesn't seem to have any effect on the libraries
> that the compiler driver links in. With or without the option, they're
> always libC, libCio, and libCsup. libCio contains the implementation
> of the C++ Standards I/O library.
> Martin

View raw message