I have upgraded (again!) to the latest bug-fix release of cxx 6.5, 
cxx-6.5-026.

I have managed to get as far as src/support/filetools.C, but now have this:

cxx: Error: ../../../devel/src/support/filetools.C, line 1281: #282 the global
          scope has no "popen"
        FILE * inf = ::popen(cmd.c_str(), os::read_mode());
-----------------------^
cxx: Error: ../../../devel/src/support/filetools.C, line 1293: #20 identifier
          "pclose" is undefined
        int const pret = pclose(inf);
-------------------------^

This time, I have NOT modified the c++ wrapper files to the c-library 
routines. Looking at the g++-v3-3.1 version of <cstdio>, I have concluded 
that the Compaq version of the same file should be written something like:

 extern "C" {
+ extern FILE *popen(const char *, const char *);
+ extern int pclose(FILE *);

 namespace std {
 extern int fclose (FILE *);
 }
 }

Currently, it does not declare those routines that are not moved into 
namespace std.

Is this conclusion correct? Input from those with greater understanding of 
the standard would be appreciated.

Angus

ps. Jean-Marc, I posted my bug report for cxx-6.5-021 to comp.unix.tru64 as 
you suggested but have had no reply. Is this the news group you meant?

A
 

Reply via email to