pan-users
[Top][All Lists]
Advanced

[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




reply via email to

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