RE_DUP_MAX redefinition

Peter Naulls peter at
Mon Jun 14 14:20:16 PDT 2004

In message <e55f18bf4c.Jo at>
          John Tytgat <John.Tytgat at> wrote:

> UnixLib on the CVS trunk contains two different definitions for RE_DUP_MAX.
> A #include of regex.h and then limits.h stops compilation (but not when
> the include happens in different order, cfr source).  Any suggestion to
> solve this ? Increase both instances of RE_DUP_MAX to (1<<31) - 1 ?

I would look at what glibc has, and probably go by that, if it's

Peter Naulls - peter at        |
Please Reply Properly -

More information about the gcc mailing list