I had written the following:
>
> Hi everyone.. I've seen this question posted before, but no summary was
> given.
>
> I'm trying to compile libg++-2.7.2 under Digital Unix 4.0b with
> gcc-2.7.2.3 and am getting the following error:
>
> In file included from Regex.cc:32:
> rx.h:1288: conflicting types for `typedef int regoff_t'
> /usr/include/reg_types.h:52: previous declaration as `typedef long int
> regoff_t'
> rx.h:1299: conflicting types for `struct re_pattern_buffer'
> /usr/include/reg_types.h:50: previous declaration as `struct regex_t'
> rx.h:1308: conflicting types for `struct regmatch_t'
> /usr/include/reg_types.h:60: previous declaration as `struct regmatch_t'
> rx.h:1308: conflicting types for `struct regmatch_t'
> /usr/include/reg_types.h:60: previous declaration as `struct regmatch_t'
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
>
> Any ideas? Will post summary!
>
> Thanks lots!
>
> Steve Tracy
> Cardinal Stritch University
> stevet_at_acs.stritch.edu
..and recieved the following response which worked for me. Thanks!
-----
I had the same problem, try commenting out the #include <ctype.h> in the
libg++/src/Regex.cc file.
Good luck;
Stuart
--
Stuart C. Sides
U.S. Geological Survey
2255 N. Gemini Dr.
Flagstaff, AZ 86001
ssides_at_TerraWeb.wr.usgs.gov
Received on Tue Oct 07 1997 - 00:02:51 NZDT