You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@stdcxx.apache.org by Dipak Bapatla <de...@sbcglobal.net> on 2006/02/13 22:01:34 UTC

Compiling stdcxx using Sun Studio 11 on Solaris 8

    Hi,
   
  Has anyone compiled the library with Sun Studio 11 on Solaris 8? I tried to compile but end up with errors. Here is what I have done so far.
   
  1. Untarred the source distribution to a directory
      /opt/idev3/dbapatla/stdcxx-4.1.3
  2. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d CONFIG=sunpro.config config
  3. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d CONFIG=sunpro.config lib
   
  I have attached config.h from step 2. I have attached some errors from the build.
   
  Please let me know if i am doing something wrong or if there is any way to fix these errors.
   
  thanks,
  Dipak
  -----------------------------------------------------------------------------------------------------------------------
    CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG -I/opt/idev3/dbapatla/stdcxx/include -I/opt/idev3/dbapatla/stdcxx-4.1.3/include  -library=%none -g  +w  -KPIC /opt/idev3/dbapatla/stdcxx-4.1.3/src/collate.cpp
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 471: Warning: keyword "bool" is being redefined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 472: Warning: keyword "false" is being redefined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 473: Warning: keyword "true" is being redefined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 1144: Warning (Anachronism): Old explicit specialization syntax.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 337: Warning (Anachronism): Old explicit specialization syntax.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 344: Error: _RWSTD_FLT_MANT_DIG is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 344: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 345: Error: _RWSTD_FLT_DIG is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 345: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 350: Error: _RWSTD_FLT_RADIX is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 350: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 355: Error: _RWSTD_FLT_MIN_EXP is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 355: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 356: Error: _RWSTD_FLT_MIN_10_EXP is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 356: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 357: Error: _RWSTD_FLT_MAX_EXP is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 357: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 358: Error: _RWSTD_FLT_MAX_10_EXP is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 358: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 364: Error: _RWSTD_FLT_HAS_DENORM is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 364: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error: _RWSTD_FLT_ROUNDS is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error: _RWSTD_FLT_ROUNDS is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error: _RWSTD_FLT_ROUNDS is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error: _RWSTD_FLT_ROUNDS is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error: An integer constant expression is required here.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 341: Error: _RWSTD_FLT_MIN is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 342: Error: _RWSTD_FLT_MAX is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 352: Error: _RWSTD_FLT_EPSILON is not defined.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 384: Warning (Anachronism): Old explicit specialization syntax.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 391: Error: _RWSTD_DBL_MANT_DIG is not defined.
  ------------------------------------
  "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1513: Error: Multiple declaration for __rw_new_capacity.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1513: Error: Badly formed expression.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1514: Error: wstring is not a member of std.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1514: Error: There must be an identifier to declare.
"/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1519: Error: No direct declarator preceding "(".




Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> Hi Liviu/Martin,
>    
>   I have forwarded the config.log to your roguewave.com email.

I looked at the log but nothing jumps out at me. I also did a 15d
build with Sun C++ 5.8 (2005/10/13) on Solaris 10/AMD64 with the
published stdcxx 4.1.3 tarball and saw no serious problems.

I posted the config header and log in my home directory so you
can compare my results with yours in case you notice something
that I'm missing:

http://people.apache.org/~sebor/config-sunpro-5.8-sunos-5.10-amd64.h
http://people.apache.org/~sebor/config-sunpro-5.8-sunos-5.10-amd64.log

Martin

Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
Hi Liviu/Martin,
   
  I have forwarded the config.log to your roguewave.com email.
   
  thanks,
  Dipak

Liviu Nicoara <ni...@roguewave.com> wrote:
  Hi Dipak,

Could you please send us the config.log file?

Thanks,
Liviu

Dipak Bapatla wrote:
> Hi,
> 
> Has anyone compiled the library with Sun Studio 11 on Solaris 8? I tried
> to compile but end up with errors. Here is what I have done so far.
> 
> 1. Untarred the source distribution to a directory
> /opt/idev3/dbapatla/stdcxx-4.1.3
> 2. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d
> CONFIG=sunpro.config config
> 3. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d
> CONFIG=sunpro.config lib
> 
> I have attached config.h from step 2. I have attached some errors from
> the build.
> 
> Please let me know if i am doing something wrong or if there is any way
> to fix these errors.
> 
> thanks,
> Dipak
> ------------------------------------------------------------------------
> -----------------------------------------------
> CC -c -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG
> -I/opt/idev3/dbapatla/stdcxx/include
> -I/opt/idev3/dbapatla/stdcxx-4.1.3/include -library=%none -g +w -KPIC
> /opt/idev3/dbapatla/stdcxx-4.1.3/src/collate.cpp
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 471:
> Warning: keyword "bool" is being redefined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 472:
> Warning: keyword "false" is being redefined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 473:
> Warning: keyword "true" is being redefined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 1144:
> Warning (Anachronism): Old explicit specialization syntax.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 337: Warning
> (Anachronism): Old explicit specialization syntax.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 344: Error:
> _RWSTD_FLT_MANT_DIG is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 344: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 345: Error:
> _RWSTD_FLT_DIG is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 345: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 350: Error:
> _RWSTD_FLT_RADIX is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 350: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 355: Error:
> _RWSTD_FLT_MIN_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 355: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 356: Error:
> _RWSTD_FLT_MIN_10_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 356: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 357: Error:
> _RWSTD_FLT_MAX_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 357: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 358: Error:
> _RWSTD_FLT_MAX_10_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 358: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 364: Error:
> _RWSTD_FLT_HAS_DENORM is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 364: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 341: Error:
> _RWSTD_FLT_MIN is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 342: Error:
> _RWSTD_FLT_MAX is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 352: Error:
> _RWSTD_FLT_EPSILON is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 384: Warning
> (Anachronism): Old explicit specialization syntax.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 391: Error:
> _RWSTD_DBL_MANT_DIG is not defined.
> ------------------------------------
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1513: Error:
> Multiple declaration for __rw_new_capacity.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1513: Error:
> Badly formed expression.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1514: Error:
> wstring is not a member of std.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1514: Error:
> There must be an identifier to declare.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1519: Error: No
> direct declarator preceding "(".
> 

  


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Liviu Nicoara <ni...@roguewave.com>.
Hi Dipak,

Could you please send us the config.log file?

Thanks,
Liviu

Dipak Bapatla wrote:
> Hi,
>  
> Has anyone compiled the library with Sun Studio 11 on Solaris 8? I tried
> to compile but end up with errors. Here is what I have done so far.
>  
> 1. Untarred the source distribution to a directory
>     /opt/idev3/dbapatla/stdcxx-4.1.3
> 2. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d
> CONFIG=sunpro.config config
> 3. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d
> CONFIG=sunpro.config lib
>  
> I have attached config.h from step 2. I have attached some errors from
> the build.
>  
> Please let me know if i am doing something wrong or if there is any way
> to fix these errors.
>  
> thanks,
> Dipak
> ------------------------------------------------------------------------
> -----------------------------------------------
> CC -c -D_RWSTDDEBUG   -mt -D_RWSTD_USE_CONFIG
> -I/opt/idev3/dbapatla/stdcxx/include
> -I/opt/idev3/dbapatla/stdcxx-4.1.3/include  -library=%none -g  +w  -KPIC
> /opt/idev3/dbapatla/stdcxx-4.1.3/src/collate.cpp
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 471:
> Warning: keyword "bool" is being redefined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 472:
> Warning: keyword "false" is being redefined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 473:
> Warning: keyword "true" is being redefined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_defs.h", line 1144:
> Warning (Anachronism): Old explicit specialization syntax.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 337: Warning
> (Anachronism): Old explicit specialization syntax.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 344: Error:
> _RWSTD_FLT_MANT_DIG is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 344: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 345: Error:
> _RWSTD_FLT_DIG is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 345: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 350: Error:
> _RWSTD_FLT_RADIX is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 350: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 355: Error:
> _RWSTD_FLT_MIN_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 355: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 356: Error:
> _RWSTD_FLT_MIN_10_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 356: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 357: Error:
> _RWSTD_FLT_MAX_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 357: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 358: Error:
> _RWSTD_FLT_MAX_10_EXP is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 358: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 364: Error:
> _RWSTD_FLT_HAS_DENORM is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 364: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error:
> _RWSTD_FLT_ROUNDS is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 379: Error: An
> integer constant expression is required here.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 341: Error:
> _RWSTD_FLT_MIN is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 342: Error:
> _RWSTD_FLT_MAX is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 352: Error:
> _RWSTD_FLT_EPSILON is not defined.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 384: Warning
> (Anachronism): Old explicit specialization syntax.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/limits", line 391: Error:
> _RWSTD_DBL_MANT_DIG is not defined.
> ------------------------------------
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1513: Error:
> Multiple declaration for __rw_new_capacity.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1513: Error:
> Badly formed expression.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1514: Error:
> wstring is not a member of std.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1514: Error:
> There must be an identifier to declare.
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/string", line 1519: Error: No
> direct declarator preceding "(".
> 


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> Once I unset the variable, the build works fine. 

Good to hear. The issue tracking the improvement I mentioned below
is here: http://issues.apache.org/jira/browse/STDCXX-144.

Martin

>    
>   thanks,
>   Dipak
> 
> Martin Sebor <se...@roguewave.com> wrote:
>   Dipak Bapatla wrote:
> 
>>oldenv.txt is the env output from the environment where the build
> 
> failed
> 
>>newenv.txt is the working one.
>>
>>diff ~/oldenv.txt ~/newenv.txt
>>3d2
>>< MAKEFLAGS=-j4
> 
> 
> I'll bet this is it. Parallel builds are not allowed when configuring.
> We should explicitly disable parallelism in GNUmakefile.cfg to avoid
> this bizarre behavior. Let me open an issue for it.
> 
> Martin
>   
> 
> 


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
Once I unset the variable, the build works fine. 
   
  thanks,
  Dipak

Martin Sebor <se...@roguewave.com> wrote:
  Dipak Bapatla wrote:
> oldenv.txt is the env output from the environment where the build failed
> newenv.txt is the working one.
> 
> diff ~/oldenv.txt ~/newenv.txt
> 3d2
> < MAKEFLAGS=-j4

I'll bet this is it. Parallel builds are not allowed when configuring.
We should explicitly disable parallelism in GNUmakefile.cfg to avoid
this bizarre behavior. Let me open an issue for it.

Martin
  


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> oldenv.txt is the env output from the environment where the build failed
>   newenv.txt is the working one.
>    
>   diff ~/oldenv.txt ~/newenv.txt
>   3d2
> < MAKEFLAGS=-j4

I'll bet this is it. Parallel builds are not allowed when configuring.
We should explicitly disable parallelism in GNUmakefile.cfg to avoid
this bizarre behavior. Let me open an issue for it.

Martin

Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
oldenv.txt is the env output from the environment where the build failed
  newenv.txt is the working one.
   
  diff ~/oldenv.txt ~/newenv.txt
  3d2
< MAKEFLAGS=-j4
7c6
< LD_LIBRARY_PATH=/opt/iona/iona_6.0/shlib:/opt/iona/iona_6.0/shlib/default:/opt/local/j2sdk1.4.1_04/jre/lib/sparc/server:/opt/local/j2sdk1.4.1_04/jre/lib/sparc:/home/dbapatla/lib:/opt/oracle/product/9.2/lib32:/opt/rational/purify:/opt/rational/quantify:/opt/iona/iona_6.0/lib:/opt/iona/iona_6.0/shlib:/opt/iona/iona_6.0/shlib/default:/opt/idev2/dbapatla/idev2-dbapatla/install/lib:/opt/idev/devl/devl-build/install/lib:/opt/local/tibco_jms/SolarisDistribution/3rd_party/c/tibco_jms/3.1.2_solaris_2.7/lib:/opt/local/lib:/opt/local/ss64/lib/sun4_solaris:/home/dbapatla/boostlibs/lib:/opt/idev2/dbapatla/xerces-c-solaris_28-cc_62/lib:/opt/idev2/dbapatla/Xalan-C_1_10_0-solaris_28-cc_62/lib
---
> LD_LIBRARY_PATH=/home/dbapatla/lib::/opt/local/lib:/lib:/lib:/opt/rational/purify:/opt/rational/quantify:/opt/iona/OrbixMT_2.3c/lib:/opt/idev2/dbapatla/idev2-dbapatla/install/lib:/opt/idev/devl/devl-build/install/lib
9,10c8
< CLASSPATH=/opt/iona/iona_6.0/asp/6.0/lib/j2ee-product.jar:/opt/iona/iona_6.0/asp/6.0/lib/webservices-product.jar:/opt/iona/iona_6.0/asp/6.0/lib/asp-corba.jar:/etc/opt/iona/iona_6.0/domains/devl::
< MANPATH=/home/dbapatla/man::/man:/opt/idev/gnats/man:/opt/local/neotcl/man:/home/dbapatla/man:/man:/opt/idev/gnats/man:/opt/local/man:/usr/man:/opt/SUNWspro/man
---
> MANPATH=/home/dbapatla/man::/man:/opt/idev/gnats/man:/opt/local/neotcl/man
12,15c10
< PERLLIB=/opt/idev/devl/src/common/slUtil/pm:/opt/idev/devl/src/rr/baUtil/pm:/opt/rdev/devl/src/baUtil/pm:/home/dbapatla/fl:/opt/wnevt:/opt/idev/dbapatla/idev-dbapatla/work/common/slOracleUtil/pm
< PS1=\h[\!]
< LD_LIBRARY_PATH_64=/opt/iona/iona_6.0/shlib/sparcv9:/opt/iona/iona_6.0/shlib/default/sparcv9:
< IT_CONFIG_DOMAINS_DIR=/etc/opt/iona/iona_6.0/domains
---
> PS1=\h\$
17c12
< SSH_CONNECTION=172.18.68.53 4270 172.18.69.12 22
---
> SSH_CONNECTION=172.18.68.53 4279 172.18.69.12 22
23,24d17
< LPDEST=q90_mkt_1
< IT_DOMAIN_NAME=madev01
27,30c20
< IT_LICENSE_FILE=/etc/opt/iona/iona_6.0/licenses.txt
< HOST=macms01
< ORACLE_HOME=/opt/oracle/product/9.2
< SSH_CLIENT=172.18.68.53 4270 22
---
> SSH_CLIENT=172.18.68.53 4279 22
40c30
<
 PATH=/opt/iona/iona_6.0/asp/6.0/bin:/etc/opt/iona/iona_6.0/bin:/home/dbapatla/bin:/opt/idev/dbapatla/bk:/opt/local/bin:/usr/bin::/usr/ucb:/usr/bin:/usr/sbin:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/ucb:/usr/openwin/bin:/opt/local/bin:/opt/ODI/ostore/bin:/opt/local/perl5/bin:/opt/local/mysql/bin:/opt/local/ssh/bin:/opt/iona/iona_6.0/asp/6.0/bin:/opt/wnevt/bin:/etc:/usr/dt/bin:/home/rhall/bin/:/usr/openwin/bin:/opt/oracle/product/9.2/bin:/opt/idev/gnats/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/iapp/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/iadm/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/idb/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/imail/bin:/opt/idev/devl/devl-build/install/iapp/bin:/opt/idev/devl/devl-build/install/iadm/bin:/opt/idev/devl/devl-build/install/idb/bin:/opt/idev/devl/devl-build/install/imail/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/rapp/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/radm/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/rdb/bin
 :/opt/id
ev/devl/devl-build/install/rapp/bin:/opt/idev/devl/devl-build/install/radm/bin:/opt/idev/devl/devl-build/install/rdb/bin:/home/dbapatla/boost-jam-3.1.11/bin.solaris:/opt/idev/dbapatla/boost/boost-jam-3.1.11/bin.solaris
---
> PATH=/opt/SUNWspro/bin:/home/dbapatla/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/local/bin:/etc:/bin:/bin:/opt/idev2/dbapatla/idev2-dbapatla/install/bin:/opt/idev/devl/devl-build/install/bin:/opt/local/neotcl/bin
42d31
< IT_PRODUCT_DIR=/opt/iona/iona_6.0
44c33
< SSH_TTY=/dev/pts/9
---
> SSH_TTY=/dev/pts/10
46c35
< OLDPWD=/home/dbapatla
---
> OLDPWD=/opt/idev3/dbapatla

Martin Sebor <se...@roguewave.com> wrote:  Dipak Bapatla wrote:
> All the four utilities below seem to be same between both the
> environments. 

Odd. How about make (it should be GNU make 3.70 or better), or
even sh (the shell)? What your locale setting (LC_CTYPE and other
LC_XXX variables)? Could you post the diff between the output of
env in each environment?

Martin

> 
> Martin Sebor wrote: Dipak Bapatla wrote:
> 
>>Hi Martin,
>>
>>I removed most of the stuff from my PATH in my .profile and now
>>everything compiles fine. I dont know what was in my .profile that
>>causes this problem. I will post to this list once I know what was
>>causing this problem.
> 
> 
> Ah! Bitten by the environment... I think it was still a useful
> exercise, even if it might have been somewhat frustrating for
> you. I suspect the infrastructure found an unexpected utility
> in your PATH (say a different, non-POSIX sed or grep) and failed
> to function properly. It would be good to know which utility
> caused this. If it isn't too much trouble, could you check to
> see which of the following utilities are different between
> the two environments (use the which command to compare the
> pathnames of each):
> 
> awk
> basename
> grep
> sed
> 
> Thanks
> Martin
> 
> 
> 




Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
macms01$ gmake -v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
macms01$ env | grep LC

  sh is /usr/bin/sh in both the environments.

Martin Sebor <se...@roguewave.com> wrote:
  Dipak Bapatla wrote:
> All the four utilities below seem to be same between both the
> environments. 

Odd. How about make (it should be GNU make 3.70 or better), or
even sh (the shell)? What your locale setting (LC_CTYPE and other
LC_XXX variables)? Could you post the diff between the output of
env in each environment?

Martin

> 
> Martin Sebor wrote: Dipak Bapatla wrote:
> 
>>Hi Martin,
>>
>>I removed most of the stuff from my PATH in my .profile and now
>>everything compiles fine. I dont know what was in my .profile that
>>causes this problem. I will post to this list once I know what was
>>causing this problem.
> 
> 
> Ah! Bitten by the environment... I think it was still a useful
> exercise, even if it might have been somewhat frustrating for
> you. I suspect the infrastructure found an unexpected utility
> in your PATH (say a different, non-POSIX sed or grep) and failed
> to function properly. It would be good to know which utility
> caused this. If it isn't too much trouble, could you check to
> see which of the following utilities are different between
> the two environments (use the which command to compare the
> pathnames of each):
> 
> awk
> basename
> grep
> sed
> 
> Thanks
> Martin
> 
> 
> 

  


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> All the four utilities below seem to be same between both the
> environments. 

Odd. How about make (it should be GNU make 3.70 or better), or
even sh (the shell)? What your locale setting (LC_CTYPE and other
LC_XXX variables)? Could you post the diff between the output of
env in each environment?

Martin

> 
> Martin Sebor <se...@roguewave.com> wrote:  Dipak Bapatla wrote:
> 
>>Hi Martin,
>>
>>I removed most of the stuff from my PATH in my .profile and now
>>everything compiles fine. I dont know what was in my .profile that
>>causes this problem. I will post to this list once I know what was
>>causing this problem.
> 
> 
> Ah! Bitten by the environment... I think it was still a useful
> exercise, even if it might have been somewhat frustrating for
> you. I suspect the infrastructure found an unexpected utility
> in your PATH (say a different, non-POSIX sed or grep) and failed
> to function properly. It would be good to know which utility
> caused this. If it isn't too much trouble, could you check to
> see which of the following utilities are different between
> the two environments (use the which command to compare the
> pathnames of each):
> 
> awk
> basename
> grep
> sed
> 
> Thanks
> Martin
> 
> 
> 


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
All the four utilities below seem to be same between both the environments. 

Martin Sebor <se...@roguewave.com> wrote:  Dipak Bapatla wrote:
> Hi Martin,
> 
> I removed most of the stuff from my PATH in my .profile and now
> everything compiles fine. I dont know what was in my .profile that
> causes this problem. I will post to this list once I know what was
> causing this problem.

Ah! Bitten by the environment... I think it was still a useful
exercise, even if it might have been somewhat frustrating for
you. I suspect the infrastructure found an unexpected utility
in your PATH (say a different, non-POSIX sed or grep) and failed
to function properly. It would be good to know which utility
caused this. If it isn't too much trouble, could you check to
see which of the following utilities are different between
the two environments (use the which command to compare the
pathnames of each):

awk
basename
grep
sed

Thanks
Martin



Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> Hi Martin,
>    
>   I removed most of the stuff from my PATH in my .profile and now
> everything compiles fine. I dont know what was in my .profile that
> causes this problem. I will post to this list once I know what was
> causing this problem.

Ah! Bitten by the environment... I think it was still a useful
exercise, even if it might have been somewhat frustrating for
you. I suspect the infrastructure found an unexpected utility
in your PATH (say a different, non-POSIX sed or grep) and failed
to function properly. It would be good to know which utility
caused this. If it isn't too much trouble, could you check to
see which of the following utilities are different between
the two environments (use the which command to compare the
pathnames of each):

     awk
     basename
     grep
     sed

Thanks
Martin

Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
Hi Martin,
   
  I removed most of the stuff from my PATH in my .profile and now everything compiles fine. I dont know what was in my .profile that causes this problem. I will post to this list once I know what was causing this problem.
   
  thanks,
  Dipak

Martin Sebor <se...@roguewave.com> wrote:
  Dipak Bapatla wrote:
> macms01$ CC -c -library=%none -g +w -D_RWSTDDEBUG -mt
> -D_RWSTD_USE_CONFIG -I. /
> opt/idev3/dbapatla/stdcxx-4.1.3/etc/config/src/BOOL.cpp
> macms01$ echo $?
> 0

Hmm. I'm afraid I'm at a loss. The command succeeds yet the macro
(_RWSTD_NO_BOOL) is #defined in the config header. That's contrary
to how the infrastructure works and I have never seen anything like
it. I would try configuring again, in a clean BUILDDIR. If it doesn't
solve it compare the new config header with the old one to see what
(if anything) has changed. You might need to instrument GNUmakefile.cfg
to find out what's really going on. Let me know if you need help with
it.

Martin

> 
> 
> Martin Sebor wrote: Martin Sebor wrote:
> 
>>Dipak Bapatla wrote:
>>
> 
> [...]
> 
>>Looks like the LIMITS.cpp config test failed.
> 
> 
> Actually, from the config.h file it looks like many tests failed,
> including the test for the bool type(!) Unless Sun screwed things
> up really bad in Sun Studio 11 and broke bool there is something
> very wrong with your environment or setup. I don't see any error
> from the bool test in your config.log yet the macro is #defined
> in config.h. Is there a BOOL.o in $BUILDDIR/include/? What status
> does CC exit with when it compiles BOOL.cpp? To find out, run this
> command (copied from your config.log) by hand:
> 
> CC -c -library=%none -g +w -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG \
> -I. /opt/idev3/dbapatla/stdcxx-4.1.3/etc/config/src/BOOL.cpp; \
> echo $?
> 
> Martin
> 
> 
> 

  


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> macms01$ CC -c -library=%none -g  +w -D_RWSTDDEBUG -mt
> -D_RWSTD_USE_CONFIG -I. /
> opt/idev3/dbapatla/stdcxx-4.1.3/etc/config/src/BOOL.cpp
> macms01$ echo $?
> 0

Hmm. I'm afraid I'm at a loss. The command succeeds yet the macro
(_RWSTD_NO_BOOL) is #defined in the config header. That's contrary
to how the infrastructure works and I have never seen anything like
it. I would try configuring again, in a clean BUILDDIR. If it doesn't
solve it compare the new config header with the old one to see what
(if anything) has changed. You might need to instrument GNUmakefile.cfg
to find out what's really going on. Let me know if you need help with
it.

Martin

> 
> 
> Martin Sebor <se...@roguewave.com> wrote:  Martin Sebor wrote:
> 
>>Dipak Bapatla wrote:
>>
> 
> [...]
> 
>>Looks like the LIMITS.cpp config test failed.
> 
> 
> Actually, from the config.h file it looks like many tests failed,
> including the test for the bool type(!) Unless Sun screwed things
> up really bad in Sun Studio 11 and broke bool there is something
> very wrong with your environment or setup. I don't see any error
> from the bool test in your config.log yet the macro is #defined
> in config.h. Is there a BOOL.o in $BUILDDIR/include/? What status
> does CC exit with when it compiles BOOL.cpp? To find out, run this
> command (copied from your config.log) by hand:
> 
> CC -c -library=%none -g +w -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG \
> -I. /opt/idev3/dbapatla/stdcxx-4.1.3/etc/config/src/BOOL.cpp; \
> echo $?
> 
> Martin
> 
> 
> 


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
macms01$ CC -c -library=%none -g  +w -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG -I. /
opt/idev3/dbapatla/stdcxx-4.1.3/etc/config/src/BOOL.cpp
macms01$ echo $?
0


Martin Sebor <se...@roguewave.com> wrote:  Martin Sebor wrote:
> Dipak Bapatla wrote:
> 
[...]
> Looks like the LIMITS.cpp config test failed.

Actually, from the config.h file it looks like many tests failed,
including the test for the bool type(!) Unless Sun screwed things
up really bad in Sun Studio 11 and broke bool there is something
very wrong with your environment or setup. I don't see any error
from the bool test in your config.log yet the macro is #defined
in config.h. Is there a BOOL.o in $BUILDDIR/include/? What status
does CC exit with when it compiles BOOL.cpp? To find out, run this
command (copied from your config.log) by hand:

CC -c -library=%none -g +w -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG \
-I. /opt/idev3/dbapatla/stdcxx-4.1.3/etc/config/src/BOOL.cpp; \
echo $?

Martin



Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Martin Sebor wrote:
> Dipak Bapatla wrote:
> 
[...]
> Looks like the LIMITS.cpp config test failed.

Actually, from the config.h file it looks like many tests failed,
including the test for the bool type(!) Unless Sun screwed things
up really bad in Sun Studio 11 and broke bool there is something
very wrong with your environment or setup. I don't see any error
from the bool test in your config.log yet the macro is #defined
in config.h. Is there a BOOL.o in $BUILDDIR/include/? What status
does CC exit with when it compiles BOOL.cpp? To find out, run this
command (copied from your config.log) by hand:

     CC -c -library=%none -g  +w -D_RWSTDDEBUG -mt -D_RWSTD_USE_CONFIG \
        -I. /opt/idev3/dbapatla/stdcxx-4.1.3/etc/config/src/BOOL.cpp; \
     echo $?

Martin

Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> Hi Martin,
>    
>   I started out trying to build without using the config at the end, as
> mentioned in the README. But I end up with a lot of errors similar to
> the one below. So I decided I would do the build in steps. When I do it
> in steps, I dont see these errors.

Interesting and disturbing at the same time :(

>    
>   checking if linker is sane
> "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_con
> fig.h", line 29: Error: Could not open include file<config.h>.
> 1 Error(s) detected.

This suggests some odd setup issue. This stage doesn't involve the
library headers, and the error certainly doesn't make sense for a
link test.

I just did a Sun Studio 11 build with the latest trunk on Solaris 10
(AMD) and didn't see any of the problems you noted. We don't have the
compiler on any of our SPARC boxes yet. Let me look at your log and
try to build 4.1.3 on the same AMD machine to see if I can reproduce
the errors you are seeing.

Martin

Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Dipak Bapatla <de...@sbcglobal.net>.
Hi Martin,
   
  I started out trying to build without using the config at the end, as mentioned in the README. But I end up with a lot of errors similar to the one below. So I decided I would do the build in steps. When I do it in steps, I dont see these errors.
   
  checking if linker is sane                         "/opt/idev3/dbapatla/stdcxx-4.1.3/include/rw/_con
fig.h", line 29: Error: Could not open include file<config.h>.
1 Error(s) detected.

  thanks,
  Dipak

Martin Sebor <se...@roguewave.com> wrote:
  Dipak Bapatla wrote:
> 
> Hi,
> 
> Has anyone compiled the library with Sun Studio 11 on Solaris 8?

We have not tested with this compiler.

> I tried 
> to compile but end up with errors. Here is what I have done so far.
> 
> 1. Untarred the source distribution to a directory
> /opt/idev3/dbapatla/stdcxx-4.1.3
> 2. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d 
> CONFIG=sunpro.config config

You can drop the "config" bit here. It should work with it but that's
not how it's normally used so you'll probably be safer without it.
This is also all that you should need to do to get the library
configured and built. Make will try to build the examples and other
stuff but you don't need to let it finish (you can if you want to
but it will take some time).

> 3. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d 
> CONFIG=sunpro.config lib

This step will be unnecessary if you follow my suggestion above.

> 
> I have attached config.h from step 2. I have attached some errors from 
> the build.

Looks like the LIMITS.cpp config test failed. The config.log might
help us figure out why. Attached is my config.h from a 15s build
of recent trunk with Sun C++ 5.7 (I guess that's Studio 10) for
comparison.

Martin
// configured for CC-5.7 on SunOS 5.10
// #define _RWSTD_NO_CASSERT
#define _RWSTD_ANSI_C_ASSERT_H "/usr/include/assert.h"
// #define _RWSTD_NO_CCTYPE
#define _RWSTD_ANSI_C_CTYPE_H "/usr/include/ctype.h"
// #define _RWSTD_NO_CERRNO
#define _RWSTD_ANSI_C_ERRNO_H "/usr/include/errno.h"
// #define _RWSTD_NO_CFLOAT
#define _RWSTD_ANSI_C_FLOAT_H "/usr/include/float.h"
// #define _RWSTD_NO_CISO646
#define _RWSTD_ANSI_C_ISO646_H "/usr/include/iso646.h"
// #define _RWSTD_NO_CLIMITS
#define _RWSTD_ANSI_C_LIMITS_H "/usr/include/limits.h"
// #define _RWSTD_NO_CLOCALE
#define _RWSTD_ANSI_C_LOCALE_H "/usr/include/locale.h"
// #define _RWSTD_NO_CMATH
#define _RWSTD_ANSI_C_MATH_H "/usr/include/math.h"
// #define _RWSTD_NO_CSETJMP
#define _RWSTD_ANSI_C_SETJMP_H "/usr/include/setjmp.h"
// #define _RWSTD_NO_CSIGNAL
#define _RWSTD_ANSI_C_SIGNAL_H "/usr/include/signal.h"
// #define _RWSTD_NO_CSTDARG
#define _RWSTD_ANSI_C_STDARG_H "/usr/include/stdarg.h"
// #define _RWSTD_NO_CSTDDEF
#define _RWSTD_ANSI_C_STDDEF_H "/usr/include/stddef.h"
// #define _RWSTD_NO_CSTDIO
#define _RWSTD_ANSI_C_STDIO_H "/usr/include/stdio.h"
// #define _RWSTD_NO_CSTDLIB
#define _RWSTD_ANSI_C_STDLIB_H "/usr/include/stdlib.h"
// #define _RWSTD_NO_CSTRING
#define _RWSTD_ANSI_C_STRING_H "/usr/include/string.h"
// #define _RWSTD_NO_CTIME
#define _RWSTD_ANSI_C_TIME_H "/usr/include/time.h"
// #define _RWSTD_NO_CWCHAR
#define _RWSTD_ANSI_C_WCHAR_H "/usr/include/wchar.h"
// #define _RWSTD_NO_CWCTYPE
#define _RWSTD_ANSI_C_WCTYPE_H "/usr/include/wctype.h"
// #define _RWSTD_NO_NEW
#define _RWSTD_ANSI_C_NEW_H "/amd/packages/mdx/solaris/SUNWspro/C++5.7j4/prod/include/CC/new.h"
// #define _RWSTD_NO_TYPEINFO
#define _RWSTD_ANSI_C_TYPEINFO_H "/amd/packages/mdx/solaris/SUNWspro/C++5.7j4/prod/include/CC/typeinfo.h"
// #define _RWSTD_NO_IEEEFP_H /* "/usr/include/ieeefp.h" */
// #define _RWSTD_NO_PTHREAD_H /* "/usr/include/pthread.h" */
// #define _RWSTD_NO_NAMESPACE
// #define _RWSTD_NO_ACOS
// #define _RWSTD_NO_ASIN
// #define _RWSTD_NO_ATAN
// #define _RWSTD_NO_ATAN2
// #define _RWSTD_NO_CEIL
// #define _RWSTD_NO_COS
// #define _RWSTD_NO_COSH
// #define _RWSTD_NO_EXP
// #define _RWSTD_NO_FABS
// #define _RWSTD_NO_FLOOR
// #define _RWSTD_NO_FMOD
// #define _RWSTD_NO_FREXP
// #define _RWSTD_NO_LDEXP
// #define _RWSTD_NO_LOG
// #define _RWSTD_NO_LOG10
// #define _RWSTD_NO_MODF
// #define _RWSTD_NO_POW
// #define _RWSTD_NO_SIN
// #define _RWSTD_NO_SINH
// #define _RWSTD_NO_SQRT
// #define _RWSTD_NO_TAN
// #define _RWSTD_NO_TANH
// #define _RWSTD_NO_ACOSF
// #define _RWSTD_NO_ASINF
// #define _RWSTD_NO_ATANF
// #define _RWSTD_NO_ATAN2F
// #define _RWSTD_NO_CEILF
// #define _RWSTD_NO_COSF
// #define _RWSTD_NO_COSHF
// #define _RWSTD_NO_EXPF
// #define _RWSTD_NO_FABSF
// #define _RWSTD_NO_FLOORF
// #define _RWSTD_NO_FMODF
// #define _RWSTD_NO_FREXPF
// #define _RWSTD_NO_LDEXPF
// #define _RWSTD_NO_LOGF
// #define _RWSTD_NO_LOG10F
// #define _RWSTD_NO_MODFF
// #define _RWSTD_NO_POWF
// #define _RWSTD_NO_SINF
// #define _RWSTD_NO_SINHF
// #define _RWSTD_NO_SQRTF
// #define _RWSTD_NO_TANF
// #define _RWSTD_NO_TANHF
// #define _RWSTD_NO_ACOSL
// #define _RWSTD_NO_ASINL
// #define _RWSTD_NO_ATANL
// #define _RWSTD_NO_ATAN2L
// #define _RWSTD_NO_CEILL
// #define _RWSTD_NO_COSL
// #define _RWSTD_NO_COSHL
// #define _RWSTD_NO_EXPL
// #define _RWSTD_NO_FABSL
// #define _RWSTD_NO_FLOORL
// #define _RWSTD_NO_FMODL
// #define _RWSTD_NO_FREXPL
// #define _RWSTD_NO_LDEXPL
// #define _RWSTD_NO_LOGL
// #define _RWSTD_NO_LOG10L
// #define _RWSTD_NO_MODFL
// #define _RWSTD_NO_POWL
// #define _RWSTD_NO_SINL
// #define _RWSTD_NO_SINHL
// #define _RWSTD_NO_SQRTL
// #define _RWSTD_NO_TANL
// #define _RWSTD_NO_TANHL
// #define _RWSTD_NO_CLEARERR
// #define _RWSTD_NO_FCLOSE
// #define _RWSTD_NO_FEOF
// #define _RWSTD_NO_FERROR
// #define _RWSTD_NO_FFLUSH
// #define _RWSTD_NO_FGETC
// #define _RWSTD_NO_FGETPOS
// #define _RWSTD_NO_FGETS
// #define _RWSTD_NO_FOPEN
// #define _RWSTD_NO_FPRINTF
// #define _RWSTD_NO_FPUTC
// #define _RWSTD_NO_FPUTS
// #define _RWSTD_NO_FREAD
// #define _RWSTD_NO_FREOPEN
// #define _RWSTD_NO_FSCANF
// #define _RWSTD_NO_FSEEK
// #define _RWSTD_NO_FSETPOS
// #define _RWSTD_NO_FTELL
// #define _RWSTD_NO_FWRITE
// #define _RWSTD_NO_GETC
// #define _RWSTD_NO_GETCHAR
// #define _RWSTD_NO_GETS
// #define _RWSTD_NO_PERROR
// #define _RWSTD_NO_PRINTF
// #define _RWSTD_NO_PUTC
// #define _RWSTD_NO_PUTCHAR
// #define _RWSTD_NO_PUTS
// #define _RWSTD_NO_REMOVE
// #define _RWSTD_NO_RENAME
// #define _RWSTD_NO_REWIND
// #define _RWSTD_NO_SCANF
// #define _RWSTD_NO_SETBUF
// #define _RWSTD_NO_SETVBUF
// #define _RWSTD_NO_SPRINTF
// #define _RWSTD_NO_SSCANF
// #define _RWSTD_NO_TMPFILE
// #define _RWSTD_NO_TMPNAM
// #define _RWSTD_NO_UNGETC
// #define _RWSTD_NO_VFPRINTF
// #define _RWSTD_NO_VPRINTF
// #define _RWSTD_NO_VSPRINTF
#define _RWSTD_NO_SNPRINTF
// #define _RWSTD_NO_SNPRINTF_IN_LIBC
#define _RWSTD_NO_VSNPRINTF
// #define _RWSTD_NO_VSNPRINTF_IN_LIBC
#define _RWSTD_NO_FILENO
// #define _RWSTD_NO_FILENO_IN_LIBC
// #define _RWSTD_NO_ABORT
#define _RWSTD_NO_ABS
// #define _RWSTD_NO_ABS_IN_LIBC
// #define _RWSTD_NO_ATEXIT
// #define _RWSTD_NO_ATOF
// #define _RWSTD_NO_ATOI
// #define _RWSTD_NO_ATOL
#define _RWSTD_NO_ATOLL
// #define _RWSTD_NO_ATOLL_IN_LIBC
#define _RWSTD_NO_BSEARCH
// #define _RWSTD_NO_BSEARCH_IN_LIBC
// #define _RWSTD_NO_CALLOC
#define _RWSTD_NO_DIV
// #define _RWSTD_NO_DIV_IN_LIBC
// #define _RWSTD_NO_EXIT
// #define _RWSTD_NO_FREE
// #define _RWSTD_NO_GETENV
// #define _RWSTD_NO_LABS
// #define _RWSTD_NO_LDIV
#define _RWSTD_NO_LLABS
// #define _RWSTD_NO_LLABS_IN_LIBC
#define _RWSTD_NO_LLDIV
// #define _RWSTD_NO_LLDIV_IN_LIBC
// #define _RWSTD_NO_MALLOC
// #define _RWSTD_NO_MBLEN
// #define _RWSTD_NO_MBSTOWCS
// #define _RWSTD_NO_MBTOWC
#define _RWSTD_NO_QSORT
// #define _RWSTD_NO_QSORT_IN_LIBC
// #define _RWSTD_NO_RAND
// #define _RWSTD_NO_REALLOC
// #define _RWSTD_NO_SRAND
// #define _RWSTD_NO_STRTOD
// #define _RWSTD_NO_STRTOL
// #define _RWSTD_NO_STRTOUL
// #define _RWSTD_NO_SYSTEM
// #define _RWSTD_NO_WCSTOMBS
// #define _RWSTD_NO_WCTOMB
#define _RWSTD_NO_STRTOF
// #define _RWSTD_NO_STRTOF_IN_LIBC
#define _RWSTD_NO_STRTOLD
// #define _RWSTD_NO_STRTOLD_IN_LIBC
#define _RWSTD_NO_STRTOLL
// #define _RWSTD_NO_STRTOLL_IN_LIBC
#define _RWSTD_NO_STRTOULL
// #define _RWSTD_NO_STRTOULL_IN_LIBC
#define _RWSTD_NO_MKSTEMP
// #define _RWSTD_NO_MKSTEMP_IN_LIBC
// #define _RWSTD_NO_MEMCHR
// #define _RWSTD_NO_MEMCMP
// #define _RWSTD_NO_MEMCPY
// #define _RWSTD_NO_MEMMOVE
// #define _RWSTD_NO_MEMSET
// #define _RWSTD_NO_STRCAT
// #define _RWSTD_NO_STRCHR
// #define _RWSTD_NO_STRCMP
// #define _RWSTD_NO_STRCOLL
// #define _RWSTD_NO_STRCPY
// #define _RWSTD_NO_STRCSPN
// #define _RWSTD_NO_STRERROR
// #define _RWSTD_NO_STRLEN
// #define _RWSTD_NO_STRNCAT
// #define _RWSTD_NO_STRNCMP
// #define _RWSTD_NO_STRNCPY
// #define _RWSTD_NO_STRPBRK
// #define _RWSTD_NO_STRRCHR
// #define _RWSTD_NO_STRSPN
// #define _RWSTD_NO_STRSTR
// #define _RWSTD_NO_STRTOK
// #define _RWSTD_NO_STRXFRM
// #define _RWSTD_NO_BTOWC
// #define _RWSTD_NO_FGETWC
// #define _RWSTD_NO_FGETWS
// #define _RWSTD_NO_FPUTWC
// #define _RWSTD_NO_FPUTWS
// #define _RWSTD_NO_FWIDE
// #define _RWSTD_NO_FWPRINTF
// #define _RWSTD_NO_FWSCANF
// #define _RWSTD_NO_GETWC
// #define _RWSTD_NO_GETWCHAR
// #define _RWSTD_NO_MBRLEN
// #define _RWSTD_NO_MBRTOWC
// #define _RWSTD_NO_MBSINIT
// #define _RWSTD_NO_MBSRTOWCS
// #define _RWSTD_NO_PUTWC
// #define _RWSTD_NO_PUTWCHAR
// #define _RWSTD_NO_SWPRINTF
// #define _RWSTD_NO_SWSCANF
// #define _RWSTD_NO_UNGETWC
// #define _RWSTD_NO_VFWPRINTF
// #define _RWSTD_NO_VSWPRINTF
// #define _RWSTD_NO_VWPRINTF
#define _RWSTD_NO_VWSCANF
// #define _RWSTD_NO_VWSCANF_IN_LIBC
// #define _RWSTD_NO_WCRTOMB
// #define _RWSTD_NO_WCSCAT
// #define _RWSTD_NO_WCSCHR
// #define _RWSTD_NO_WCSCMP
// #define _RWSTD_NO_WCSCOLL
// #define _RWSTD_NO_WCSCPY
// #define _RWSTD_NO_WCSCSPN
// #define _RWSTD_NO_WCSFTIME
// #define _RWSTD_NO_WCSLEN
// #define _RWSTD_NO_WCSNCAT
// #define _RWSTD_NO_WCSNCMP
// #define _RWSTD_NO_WCSNCPY
// #define _RWSTD_NO_WCSPBRK
// #define _RWSTD_NO_WCSRCHR
// #define _RWSTD_NO_WCSRTOMBS
// #define _RWSTD_NO_WCSSPN
// #define _RWSTD_NO_WCSSTR
// #define _RWSTD_NO_WCSTOD
// #define _RWSTD_NO_WCSTOD
#define _RWSTD_NO_WCSTOF
// #define _RWSTD_NO_WCSTOF_IN_LIBC
// #define _RWSTD_NO_WCSTOK
// #define _RWSTD_NO_WCSTOL
#define _RWSTD_NO_WCSTOLD
// #define _RWSTD_NO_WCSTOLD_IN_LIBC
#define _RWSTD_NO_WCSTOLL
// #define _RWSTD_NO_WCSTOLL_IN_LIBC
#define _RWSTD_NO_WCSTOMBS
// #define _RWSTD_NO_WCSTOMBS_IN_LIBC
// #define _RWSTD_NO_WCSTOUL
#define _RWSTD_NO_WCSTOULL
// #define _RWSTD_NO_WCSTOULL_IN_LIBC
// #define _RWSTD_NO_WCSXFRM
// #define _RWSTD_NO_WCTOB
#define _RWSTD_NO_WCTOMB
// #define _RWSTD_NO_WCTOMB_IN_LIBC
// #define _RWSTD_NO_WMEMCHR
// #define _RWSTD_NO_WMEMCMP
// #define _RWSTD_NO_WMEMCPY
// #define _RWSTD_NO_WMEMMOVE
// #define _RWSTD_NO_WMEMSET
// #define _RWSTD_NO_WPRINTF
// #define _RWSTD_NO_WSCANF
// #define _RWSTD_NO_ISWALPHA
// #define _RWSTD_NO_ISWALNUM
// #define _RWSTD_NO_ISWCNTRL
// #define _RWSTD_NO_ISWDIGIT
// #define _RWSTD_NO_ISWGRAPH
// #define _RWSTD_NO_ISWLOWER
// #define _RWSTD_NO_ISWPRINT
// #define _RWSTD_NO_ISWPUNCT
// #define _RWSTD_NO_ISWSPACE
// #define _RWSTD_NO_ISWUPPER
// #define _RWSTD_NO_ISWXDIGIT
// #define _RWSTD_NO_WCTYPE
// #define _RWSTD_NO_ISWCTYPE
// #define _RWSTD_NO_TOWLOWER
// #define _RWSTD_NO_TOWUPPER
// #define _RWSTD_NO_WCTRANS
// #define _RWSTD_NO_TOWCTRANS
// #define _RWSTD_NO_LONG_LONG
// #define _RWSTD_NO_ABS_OVERLOADS
#define _RWSTD_NO_ABS_BOOL
#define _RWSTD_NO_ABS_CHAR
#define _RWSTD_NO_ABS_SCHAR
#define _RWSTD_NO_ABS_UCHAR
#define _RWSTD_NO_ABS_SHRT
#define _RWSTD_NO_ABS_USHRT
// #define _RWSTD_NO_ABS_INT
#define _RWSTD_NO_ABS_UINT
// #define _RWSTD_NO_ABS_LONG
#define _RWSTD_NO_ABS_ULONG
#define _RWSTD_NO_ABS_LLONG
#define _RWSTD_NO_ABS_ULLONG
// #define _RWSTD_NO_ATOMIC_OPS
// #define _RWSTD_NO_HONOR_STD
// #define _RWSTD_NO_STD_TERMINATE
// #define _RWSTD_NO_SETRLIMIT
// #define _RWSTD_NO_NEW_THROWS
// #define _RWSTD_NO_NEW_OFLOW_SAFE
// #define _RWSTD_NO_STD_BAD_ALLOC
// #define _RWSTD_NO_STD_BAD_CAST
// #define _RWSTD_NO_EXCEPTION_SPECIFICATION
// #define _RWSTD_NO_STD_SET_UNEXPECTED
#define _RWSTD_NO_STD_BAD_EXCEPTION
// #define _RWSTD_NO_TYPEINFO_H
// #define _RWSTD_NO_STD_BAD_TYPEID
// #define _RWSTD_NO_STD_EXCEPTION
// #define _RWSTD_NO_STD_SET_NEW_HANDLER
// #define _RWSTD_NO_STD_SET_TERMINATE
// #define _RWSTD_NO_EXCEPTIONS
// #define _RWSTD_NO_STD_UNCAUGHT_EXCEPTION
// #define _RWSTD_NO_STD_UNEXPECTED
#define _RWSTD_NO_GLOBAL_BAD_ALLOC
#define _RWSTD_NO_GLOBAL_BAD_CAST
#define _RWSTD_NO_GLOBAL_BAD_EXCEPTION
#define _RWSTD_NO_GLOBAL_BAD_TYPEID
#define _RWSTD_NO_GLOBAL_EXCEPTION
#define _RWSTD_NO_GLOBAL_SET_NEW_HANDLER
#define _RWSTD_NO_GLOBAL_SET_TERMINATE
#define _RWSTD_NO_GLOBAL_SET_UNEXPECTED
#define _RWSTD_NO_GLOBAL_TERMINATE
#define _RWSTD_NO_GLOBAL_UNCAUGHT_EXCEPTION
#define _RWSTD_NO_GLOBAL_UNEXPECTED
// #define _RWSTD_NO_RUNTIME_IN_STD
#undef _RWSTD_NO_STD_BAD_EXCEPTION
// number of runtime library symbols examined: 11
// symbols found only in namespace std: 10
// symbols found only in the global namespace: 0
// symbols found in both namespaces: 0
// symbols found in neither namespace: 1
// #define _RWSTD_NO_RUNTIME_IN_STD
#define _RWSTD_NO_BAD_ALLOC_ASSIGNMENT
#define _RWSTD_NO_BAD_ALLOC_COPY_CTOR
// #define _RWSTD_NO_BAD_ALLOC_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_ALLOC_DTOR
// #define _RWSTD_NO_BAD_ALLOC_WHAT
#define _RWSTD_NO_BAD_CAST_ASSIGNMENT
#define _RWSTD_NO_BAD_CAST_COPY_CTOR
// #define _RWSTD_NO_BAD_CAST_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_CAST_DTOR
// #define _RWSTD_NO_BAD_CAST_WHAT
#define _RWSTD_NO_BAD_EXCEPTION_ASSIGNMENT
#define _RWSTD_NO_BAD_EXCEPTION_COPY_CTOR
// #define _RWSTD_NO_BAD_EXCEPTION_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_EXCEPTION_DTOR
// #define _RWSTD_NO_BAD_EXCEPTION_WHAT
#define _RWSTD_NO_BAD_TYPEID_ASSIGNMENT
#define _RWSTD_NO_BAD_TYPEID_COPY_CTOR
// #define _RWSTD_NO_BAD_TYPEID_DEFAULT_CTOR
// #define _RWSTD_NO_BAD_TYPEID_DTOR
// #define _RWSTD_NO_BAD_TYPEID_WHAT
// #define _RWSTD_NO_BOOL
// #define _RWSTD_NO_CLASS_PARTIAL_SPEC
// #define _RWSTD_NO_COLLAPSE_STATIC_LOCALS
// #define _RWSTD_NO_COLLAPSE_TEMPLATE_LOCALS
// #define _RWSTD_NO_COLLAPSE_TEMPLATE_STATICS
// #define _RWSTD_NO_CONST_CAST
// #define _RWSTD_NO_CTYPE_BITS
#define _RWSTD_CTYPE_UPPER = 0x00000001 /* libc value */
#define _RWSTD_CTYPE_LOWER = 0x00000002 /* libc value */
#define _RWSTD_CTYPE_DIGIT = 0x00000004 /* libc value */
#define _RWSTD_CTYPE_SPACE = 0x00000008 /* libc value */
#define _RWSTD_CTYPE_PUNCT = 0x00000010 /* libc value */
#define _RWSTD_CTYPE_CNTRL = 0x00000020 /* libc value */
#define _RWSTD_CTYPE_BLANK = 0x00000040 /* libc value */
#define _RWSTD_CTYPE_XDIGIT = 0x00000080 /* libc value */
#define _RWSTD_CTYPE_GRAPH = 0x00002000 /* libc value */
#define _RWSTD_CTYPE_ALPHA = 0x00004000 /* libc value */
#define _RWSTD_CTYPE_PRINT = 0x00008000 /* libc value */
#define _RWSTD_CTYPE_ALNUM = 0x00004004 /* libc value */
// #define _RWSTD_NO_DEFAULT_TEMPLATE_ARGS
// #define _RWSTD_NO_DEPENDENT_TEMPLATE
// #define _RWSTD_NO_DEPRECATED_LIBC_IN_STD
// #define _RWSTD_NO_DIV_OVERLOADS
// #define _RWSTD_NO_DIV_INT
// #define _RWSTD_NO_DIV_LONG
#define _RWSTD_NO_DIV_LLONG
// #define _RWSTD_NO_DUMMY_DEFAULT_ARG
// #define _RWSTD_NO_DYNAMIC_CAST
// #define _RWSTD_NO_EMPTY_MEM_INITIALIZER
#define _RWSTD_NO_EXCEPTION_ASSIGNMENT
#define _RWSTD_NO_EXCEPTION_COPY_CTOR
#define _RWSTD_NO_EXCEPTION_DEFAULT_CTOR
// #define _RWSTD_NO_EXCEPTION_DTOR
// #define _RWSTD_NO_EXCEPTION_SPECIFICATION_ON_NEW
// #define _RWSTD_NO_EXCEPTION_WHAT
// #define _RWSTD_NO_EXPLICIT
// #define _RWSTD_NO_EXPLICIT_ARG
// #define _RWSTD_NO_EXPLICIT_CTOR_INSTANTIATION
// #define _RWSTD_NO_EXPLICIT_FUNC_INSTANTIATION
// #define _RWSTD_NO_EXPLICIT_INSTANTIATION
// #define _RWSTD_NO_MEMBER_TEMPLATES
// #define _RWSTD_NO_IMPLICIT_INCLUSION
// #define _RWSTD_NO_extern_function_template_imp
#define _RWSTD_NO_EXTERN_FUNCTION_TEMPLATE
// #define _RWSTD_NO_EXPLICIT_INSTANTIATION_BEFORE_DEFINITION
// #define _RWSTD_NO_EXPLICIT_INSTANTIATION_WITH_IMPLICIT_INCLUSION
// #define _RWSTD_NO_EXPLICIT_MEMBER_INSTANTIATION
#define _RWSTD_NO_EXPLICIT_MEMBER_SPECIALIZATION
// #define _RWSTD_NO_EXPORT_KEYWORD
#define _RWSTD_NO_EXPORT
// #define _RWSTD_NO_EXTERN_C_COMPATIBILITY
// #define _RWSTD_NO_EXTERN_C_OVERLOAD
// #define _RWSTD_NO_EXTERN_INLINE
// #define _RWSTD_NO_extern_template_imp
#define _RWSTD_NO_EXTERN_TEMPLATE
// #define _RWSTD_NO_extern_template_before_definition_imp
#define _RWSTD_NO_EXTERN_TEMPLATE_BEFORE_DEFINITION
// #define _RWSTD_NO_FLOAT_H
#define _RWSTD_NO_LIBC_EXCEPTION_SPEC
// #define _RWSTD_NO_STRTOD_IN_LIBC
// #define _RWSTD_NO_LONG_DOUBLE
// #define _RWSTD_NO_LDBL_PRINTF_PREFIX
#define _RWSTD_LDBL_PRINTF_PREFIX "L"
// #define _RWSTD_NO_FLOAT
#define _RWSTD_FLT_ROUNDS 1 /* round to nearest */
#define _RWSTD_DBL_DIG 15
#define _RWSTD_DBL_MANT_DIG 53
#define _RWSTD_DBL_MAX_10_EXP 308
#define _RWSTD_DBL_MAX_EXP 1024
#define _RWSTD_DBL_MIN_10_EXP -307
#define _RWSTD_DBL_MIN_EXP -1021
#define _RWSTD_FLT_DIG 6
#define _RWSTD_FLT_MANT_DIG 24
#define _RWSTD_FLT_MAX_10_EXP 38
#define _RWSTD_FLT_MAX_EXP 128
#define _RWSTD_FLT_MIN_10_EXP -37
#define _RWSTD_FLT_MIN_EXP -125
#define _RWSTD_FLT_RADIX 2
#define _RWSTD_LDBL_DIG 33
#define _RWSTD_LDBL_MANT_DIG 113
#define _RWSTD_LDBL_MAX_10_EXP 4932
#define _RWSTD_LDBL_MAX_EXP 16384
#define _RWSTD_LDBL_MIN_10_EXP -4931
#define _RWSTD_LDBL_MIN_EXP -16381
#define _RWSTD_DBL_MAX 1.7976931348623157081452E+308
#define _RWSTD_FLT_MAX 3.4028234663852885981170E+38F
#define _RWSTD_LDBL_MAX 1.189731495357231765085759326628007016E+4932L
#define _RWSTD_DBL_EPSILON 2.2204460492503130808473E-16
#define _RWSTD_DBL_MIN 2.2250738585072013830903E-308
#define _RWSTD_FLT_EPSILON 1.1920928955078125000000E-07F
#define _RWSTD_FLT_MIN 1.1754943508222875079688E-38F
#define _RWSTD_LDBL_EPSILON 1.925929944387235853055977942584927319E-34L
#define _RWSTD_LDBL_MIN 3.362103143112093506262677817321752603E-4932L
// #define _RWSTD_NO_STRTOF_UFLOW // 34 (ERANGE)
// #define _RWSTD_NO_STRTOD_UFLOW // 34 (ERANGE)
// #define _RWSTD_NO_STRTOLD_UFLOW // 34 (ERANGE)
// #define _RWSTD_NO_FPOS_T
// #define _RWSTD_NO_FRIEND_TEMPLATE
#define _RWSTD_NO_FUNC
// #define _RWSTD_NO_FUNCTION_TRY_BLOCK
// #define _RWSTD_NO_FUNC_PARTIAL_SPEC
#define _RWSTD_NO_GLOBAL_NOTHROW
#define _RWSTD_NO_GLOBAL_NOTHROW_T
#define _RWSTD_NO_GLOBAL_TYPE_INFO
// #define _RWSTD_NO_ICONV
// #define _RWSTD_NO_ICONV_CONST_CHAR
#define _RWSTD_ICONV_ARG2_T const char**
#define _RWSTD_NO_IMPLICIT_INSTANTIATION
#define _RWSTD_NO_DBL_TRAPS
// #define _RWSTD_NO_INFINITY
// computed infinities and NANs for a big endian architecture
#define _RWSTD_FLT_INF_BITS { '\x7f', '\x80', 0, 0 }
#define _RWSTD_FLT_QNAN_BITS { '\x7f', '\xff', '\xff', '\xff' }
#define _RWSTD_FLT_SNAN_BITS { '\x7f', '\x80', 0, '\x1' }
#define _RWSTD_FLT_DENORM_MIN_BITS { 0, 0, 0, '\x1' }
#define _RWSTD_FLT_HAS_DENORM 1
#define _RWSTD_DBL_INF_BITS { '\x7f', '\xf0', 0, 0, 0, 0, 0, 0 }
#define _RWSTD_DBL_QNAN_BITS { '\x7f', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff' }
#define _RWSTD_DBL_SNAN_BITS { '\x7f', '\xf0', 0, 0, 0, 0, 0, '\x1' }
#define _RWSTD_DBL_DENORM_MIN_BITS { 0, 0, 0, 0, 0, 0, 0, '\x1' }
#define _RWSTD_DBL_HAS_DENORM 1
#define _RWSTD_LDBL_INF_BITS { '\x7f', '\xff', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
#define _RWSTD_LDBL_QNAN_BITS { '\x7f', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff', '\xff' }
#define _RWSTD_LDBL_SNAN_BITS { '\x7f', '\xff', 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '\x1' }
#define _RWSTD_LDBL_DENORM_MIN_BITS { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '\x1' }
#define _RWSTD_LDBL_HAS_DENORM 1
// #define _RWSTD_NO_INLINE_MEMBER_TEMPLATES
// #define _RWSTD_NO_INSTANTIATE_DEFAULT_ARGS
#define _RWSTD_NO_LCONV_INT_FMAT
// #define _RWSTD_NO_LCONV
#define _RWSTD_LCONV { /* sizeof (lconv) == 48 */ \
char* decimal_point; \
char* thousands_sep; \
char* grouping; \
char* int_curr_symbol; \
char* currency_symbol; \
char* mon_decimal_point; \
char* mon_thousands_sep; \
char* mon_grouping; \
char* positive_sign; \
char* negative_sign; \
char int_frac_digits; \
char frac_digits; \
char p_cs_precedes; \
char p_sep_by_space; \
char n_cs_precedes; \
char n_sep_by_space; \
char p_sign_posn; \
char n_sign_posn; \
}
// #define _RWSTD_NO_WCHAR_H
// #define _RWSTD_NO_WCTYPE_H
// #define _RWSTD_NO_NEW_HEADER
// #define _RWSTD_NO_LIBC_IN_STD
// #define _RWSTD_NO_LIB_EXCEPTIONS
// #define _RWSTD_NO_LIMITS_H
// #define _RWSTD_NO_WCHAR_T
// #define _RWSTD_NO_LIMITS
#define _RWSTD_BOOL_SIZE 1 /* sizeof (bool) */
#define _RWSTD_CHAR_SIZE 1 /* sizeof (char) */
#define _RWSTD_SHRT_SIZE 2 /* sizeof (short) */
#define _RWSTD_INT_SIZE 4 /* sizeof (int) */
#define _RWSTD_LONG_SIZE 4 /* sizeof (long) */
#define _RWSTD_FLT_SIZE 4 /* sizeof (float) */
#define _RWSTD_DBL_SIZE 8 /* sizeof (double) */
#define _RWSTD_LDBL_SIZE 16 /* sizeof (long double) */
#define _RWSTD_PTR_SIZE 4 /* sizeof (void*) */
#define _RWSTD_FUNPTR_SIZE 4 /* sizeof (void(*)()) */
#define _RWSTD_MEMPTR_SIZE 8 /* sizeof (void (struct::*)()) */
#define _RWSTD_CHAR_BIT 8
#define _RWSTD_BOOL_MIN !!0
#define _RWSTD_BOOL_MAX !0
// #define _RWSTD_NO_TWOS_COMPLEMENT
#define _RWSTD_CHAR_MAX '\x7f'
#define _RWSTD_CHAR_MIN (-_RWSTD_CHAR_MAX - 1)
#define _RWSTD_SCHAR_MAX 0x7f
#define _RWSTD_SCHAR_MIN (-_RWSTD_SCHAR_MAX - 1)
#define _RWSTD_UCHAR_MAX 0xffU
#define _RWSTD_UCHAR_MIN 0x0U
#define _RWSTD_SHRT_MAX 0x7fff
#define _RWSTD_SHRT_MIN (-_RWSTD_SHRT_MAX - 1)
#define _RWSTD_USHRT_MAX 0xffffU
#define _RWSTD_USHRT_MIN 0x0U
#define _RWSTD_INT_MAX 0x7fffffff
#define _RWSTD_INT_MIN (-_RWSTD_INT_MAX - 1)
#define _RWSTD_UINT_MAX 0xffffffffU
#define _RWSTD_UINT_MIN 0x0U
#define _RWSTD_LONG_MAX 0x7fffffffL

=== message truncated ===  


Re: Compiling stdcxx using Sun Studio 11 on Solaris 8

Posted by Martin Sebor <se...@roguewave.com>.
Dipak Bapatla wrote:
> 
> Hi,
>  
> Has anyone compiled the library with Sun Studio 11 on Solaris 8?

We have not tested with this compiler.

> I tried 
> to compile but end up with errors. Here is what I have done so far.
>  
> 1. Untarred the source distribution to a directory
>     /opt/idev3/dbapatla/stdcxx-4.1.3
> 2. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d 
> CONFIG=sunpro.config config

You can drop the "config" bit here. It should work with it but that's
not how it's normally used so you'll probably be safer without it.
This is also all that you should need to do to get the library
configured and built. Make will try to build the examples and other
stuff but you don't need to let it finish (you can if you want to
but it will take some time).

> 3. gmake BUILDDIR=/opt/idev3/dbapatla/stdcxx BUILDTYPE=15d 
> CONFIG=sunpro.config lib

This step will be unnecessary if you follow my suggestion above.

>  
> I have attached config.h from step 2. I have attached some errors from 
> the build.

Looks like the LIMITS.cpp config test failed. The config.log might
help us figure out why. Attached is my config.h from a 15s build
of recent trunk with Sun C++ 5.7 (I guess that's Studio 10) for
comparison.

Martin