delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/18/09:49:48

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Mon, 18 Nov 2002 15:53:07 +0100
From: Uwe Mayer <merkosh AT planet-interkom DOT de>
Reply-To: Uwe Mayer <merkosh AT planet-interkom DOT de>
X-Priority: 3 (Normal)
Message-ID: <5417705509.20021118155307@planet-interkom.de>
To: cygwin AT cygwin DOT com
Subject: Re[2]: compiling clicq, problems with c++
In-Reply-To: <OE454TNDA25FXmgoV3d00002990@hotmail.com>
References: <1901490873 DOT 20021118091913 AT hadiko DOT de>
<OE454TNDA25FXmgoV3d00002990 AT hotmail DOT com>
MIME-Version: 1.0

Hallo Gareth,

Monday, November 18, 2002, 10:12:52 AM, you wrote:

GP> if you look at the actual contents of those files - they include each other
GP> the standard method of including socket.h is
GP> #define <sys/socket.h>

ok, changed that. Thanks.

GP> first point - a given line of output doesnt cause make to abort - its when a
GP> program returns with a return code indicating error that make aborts.

GP> second point - Gcc will continue after it finds errors - and try to report
GP> as much as possible.  you've only given the last 3 lines which are both
GP> warnings.  - you havent given the command invoked so we dont know if -Werror
GP> has been passed.  And theres no way to know whats between the command and
GP> the first of the lines you have stated.

GP> Not enough context.

ok, sorry. i wanted to keep the mail as short as possible, here's the
call to make:

merkosh AT M111 /tmp/clicq-0.1
$ make
make  all-recursive
make[1]: Entering directory `/tmp/clicq-0.1'
Making all in icqlib
make[2]: Entering directory `/tmp/clicq-0.1/icqlib'
make  all-recursive
make[3]: Entering directory `/tmp/clicq-0.1/icqlib'
Making all in icqlib
make[4]: Entering directory `/tmp/clicq-0.1/icqlib/icqlib'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/tmp/clicq-0.1/icqlib/icqlib'
make[4]: Entering directory `/tmp/clicq-0.1/icqlib'
make[4]: Leaving directory `/tmp/clicq-0.1/icqlib'
make[3]: Leaving directory `/tmp/clicq-0.1/icqlib'
make[2]: Leaving directory `/tmp/clicq-0.1/icqlib'
Making all in src
make[2]: Entering directory `/tmp/clicq-0.1/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../icqlib/icqlib    -g -O2 -c clicq.c
clicq.c:16:18: term.h: No such file or directory
In file included from clicq.c:20:
cmd.h:43:8: warning: extra tokens at end of #endif directive
In file included from clicq.h:7,
                 from clicq.c:22:
enum.h:21:8: warning: extra tokens at end of #endif directive
In file included from clicq.c:22:
clicq.h:148:8: warning: extra tokens at end of #endif directive
In file included from clicq.c:23:
cfg.h:14:8: warning: extra tokens at end of #endif directive
In file included from clicq.c:24:
icqhandle.h:25:8: warning: extra tokens at end of #endif directive
clicq.c: In function `input_handler':
clicq.c:131: warning: deprecated use of label at end of compound statement
clicq.c: In function `main':
clicq.c:267: warning: assignment from incompatible pointer type
clicq.c:268: warning: assignment from incompatible pointer type
make[2]: *** [clicq.o] Error 1
make[2]: Leaving directory `/tmp/clicq-0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/clicq-0.1'
make: *** [all-recursive-am] Error 2


Where's the "Error" that make indicates?

GP> third and final point

...

GP> They are probably in header files which have been included.  Since you say
GP> this is c++ - they are probably members of a class which is defined in a
GP> header.

GP> but its not an issue probably.

Well, I did a full text search on the varriables in /tmp/clicq-0.1/*
and got only one match. :(



Thank you for your help

Ciao
Uwe


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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