[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pan-users] Re: OpenSolaris?
From: |
Robert Marshall |
Subject: |
[Pan-users] Re: OpenSolaris? |
Date: |
Mon, 19 Jan 2009 06:34:43 +0000 |
On Sat, 17 Jan 2009, walt wrote:
>
> walt wrote:
>> Kevin Monceaux wrote:
>>> Pan Fans,
>>>
>>> ...
>>> and am trying to compile pan. I tried versions 0.132 and 0.133 and get:
>> > ...
>>> text-match.h:111: error: expected identifier before numeric constant
>>> text-match.h:111: error: expected `}' before numeric constant...
>>
>> Pure guesswork on my part, but just for laughs try reformatting the enum
>> statement on line 111 to match the similar on on line 37, like this:
>>
>> enum PcreState {
>> NEED_COMPILE,
>> COMPILED,
>> ERR
>> };
>
> Heh. And if that doesn't work, then try doing what I said and not what
> I did:
>
> enum PcreState
> {
> NEED_COMPILE,
> COMPILED,
> ERR
> };
>
I'd guess that one of the systems file has one of those names already
defined
#define ERR 1
or something. If Walt's suggestions doesn't work, I'd either undef from the
compile line or add lines like
#undef NEED_COMPILE
#undef COMPILED
#undef ERR
before the enum line
Robert
--
Links and things http://rmstar.blogspot.com/
Robert Marshall
- [Pan-users] OpenSolaris?, Kevin Monceaux, 2009/01/16
- [Pan-users] Re: OpenSolaris?, Duncan, 2009/01/16
- Re: [Pan-users] OpenSolaris?, walt, 2009/01/17
- [Pan-users] Re: OpenSolaris?, walt, 2009/01/17
- [Pan-users] Re: OpenSolaris?, Kevin Monceaux, 2009/01/20
- [Pan-users] Re: OpenSolaris?, Kevin Monceaux, 2009/01/20
- [Pan-users] Re: OpenSolaris?, Kevin Monceaux, 2009/01/22
- Re: [Pan-users] Re: OpenSolaris?, Kevin Monceaux, 2009/01/22