www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/29/18:52:34

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19990729223916.2092.rocketmail@web112.yahoomail.com>
Date: Thu, 29 Jul 1999 15:39:16 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: gcc build error--configuration problem?
To: cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0


--- Mumit Khan <khan AT xraylith DOT wisc DOT EDU> wrote:
> "Josh Baudhuin" <joshb AT Cadence DOT COM> writes:
-8<-
> > gcc  -I. -I.. -I. -I../lib -DHAVE_CONFIG_H  -g -O -c rcs.c
> > rcs.c: In function `apply_rcs_changes':
> > rcs.c:6994: parse error before `('
> > make[1]: *** [rcs.o] Error 1
> > make: *** [all] Error 1
> > 
> [ ... ]
> 
> > 
> > Seems like there must be a macro in there for ADD or DELETE. Is the
> > configuration wrong? Do I need to do more to set up the build environment
> > than the simple install of full.exe? [Doesn't seem to be a CDK install
> > anymore.]
> > 
> 
> The windows32api headers define a DELETE macro, which is obviously not
> what RCS expects.
> 
> You may need to insert a #undef DELETE after the appropriate to nullify
> the windows one and use RCS one.
> 
> Damn these namespace polluting macros in system headers.
> 
> My preference of course is to change the RCS macros/enums to use RCS_
> prefix and be done with it.

Yep.  Exactly what I did when I built it.  I might add that I've not had any
problems using it with text files.  I haven't had the need for binary files so
I can't say what will happen if you use the -b switch.  It appears to be coded
for it though.
===
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
_____________________________________________________________
Do You Yahoo!?
Free instant messaging and more at http://messenger.yahoo.com


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019