bug-cgicc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-cgicc] Compile error on g++ 2.96 / RH7.3


From: Robert Colbert
Subject: [bug-cgicc] Compile error on g++ 2.96 / RH7.3
Date: Tue, 23 Dec 2003 07:38:51 -0800

Running on Red Hat 7.3, g++ version 2.96, pretty much a stock box
(definitely a stock compiler setup), I get the following error in
CgiEnvironment.cpp at about line 141:

CgiEnvironment.cpp: In method `void cgicc::CgiEnvironment::parseCookie
(const string &)':
CgiEnvironment.cpp:141: parse error before `__ctype_b'
CgiEnvironment.cpp:141: parse error before `]'
CgiEnvironment.cpp:149: confused by earlier errors, bailing out

This was "fixed" by changing (no need for a diff, it's a one-line
change):

    if(std::isspace(*data_iter) == 0)
      break;

to the following instead:

    if(isspace(*data_iter) == 0) // no std::, use isspace()
      break;

I will know more about this in the coming days, but I don't have the
time right now to more completely diagnose the compile problem.
__ctype_b is defined in ctype.h on this system as:

extern __const unsigned short int *__ctype_b;

Not sure why it's not being brought in correctly, or if it is, what
could be wrong with cctype's use of it?

I have attached the results of config.guess and configure for your
review. The library appears to be functioning normally regarding the use
of cookies, so I'm happy with it. In fact, I'm extremely happy with the
library overall. The speed at which I was able to bring a complex,
database-enabled CGI into existence through the use of Cgicc is
incredible! The stuff just works :-)

I'm not expecting the library to change; and I can't upgrade the
compiler. I'm working in an environment where upgrading the compiler
breaks the build of certain software components, so I had to mod the
Cgicc library to build.

This occurs, by the way, in Cgicc 3.2.2. I have not checked other
versions.

Thanks,

-Rob Colbert (address@hidden)

Attachment: out
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]