[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference turris::c_plus_plus

Title:C++
Notice:Read 1.* and use keywords (e.g. SHOW KEY/FULL KIT_CXX_VAX_VMS)
Moderator:DECCXX::AMARTIN
Created:Fri Nov 06 1987
Last Modified:Thu Jun 05 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:3604
Total number of notes:18242

3505.0. "xtaso_short and strtol" by ATYISA::SULOCHA () Wed Mar 19 1997 12:58

        
          My sw partner is required to use -xtaso_short and
    -vptr_size_short
          due to ObjectStore .
          We can build with no problem the xx.so files .
          But we have problem to build the executable .
          We have some pointers problem convertions .
           example of message :
        cxx: Error:
    /home/wb/kl/Kernel7/prod/DMStd/src/DMStd_GlobalHandle.cxx
        line 408: In the initializer for domain,
        the referenced type of the pointer value "&ptr" is "short pointer
    to
        char", which is not compatible with "long pointer to char" .
          Standard_Integer domain = strtol(str,&ptr,10);
        
        the man page :
          long int strtol(
                  const char *nptr,
                  char **endptr,
                  int base);
        
          Question do we have problems to translate   char **endptr in 32
    bits
          mode ?
        
         We use DU V4.0.B and CXX V5.5 .
     
T.RTitleUserPersonal
Name
DateLines
3505.1DECC::ZAHAREELinda D. ZahareeThu Mar 20 1997 10:304
    This note was also posted in the DECC_BUGS conference as note #1279.
    See the replies in this conference for an answer to the question.
    
    Linda.