From owner-freebsd-current@FreeBSD.ORG Wed Feb 25 16:08:58 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0B31716A4CE for ; Wed, 25 Feb 2004 16:08:58 -0800 (PST) Received: from winston.piwebs.com (217-19-20-186.dsl.cambrium.nl [217.19.20.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 1E90D43D1D for ; Wed, 25 Feb 2004 16:08:57 -0800 (PST) (envelope-from avleeuwen@piwebs.com) Received: (qmail 2548 invoked from network); 26 Feb 2004 00:08:54 -0000 Received: from vincent.piwebs.com (192.168.0.95) by winston.piwebs.com with SMTP; 26 Feb 2004 00:08:54 -0000 From: Arjan van Leeuwen To: freebsd-current@freebsd.org Date: Thu, 26 Feb 2004 01:09:41 +0100 User-Agent: KMail/1.6 MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_IlTPAhqfsIQVYvc"; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <200402260109.44508.avleeuwen@piwebs.com> Subject: Error compiling C++ programs with ctime X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: avleeuwen@piwebs.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Feb 2004 00:08:58 -0000 --Boundary-02=_IlTPAhqfsIQVYvc Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I'm suddenly getting errors from a lot of C++ ports. They all look the same= =20 (see the bottom of this email).=20 Was there a recent change in some includes that triggers this? Or is this=20 something on my own system, and if so, how do I fix it? Best regards, Arjan c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include/id3 -I../include=20 =2DI/usr/local/include -O -pipe -march=3Dathlon-xp -fmemoize-lookups=20 =2Dfsave-memoized -Wall -Wno-unused -Wno-inline -Woverloaded-virtual=20 =2DWmissing-declarations -c c_wrapper.cpp -MT c_wrapper.lo -MD -MP=20 =2DMF .deps/c_wrapper.TPlo -fPIC -DPIC -o .libs/c_wrapper.lo cc1plus: warning: "-Wmissing-declarations" is valid for C/ObjC but not for = C++ In file included from /usr/include/c++/3.3/cwchar:51, from /usr/include/c++/3.3/bits/fpos.h:45, from /usr/include/c++/3.3/iosfwd:49, from /usr/include/c++/3.3/ios:44, from /usr/include/c++/3.3/istream:44, from /usr/include/c++/3.3/fstream:45, from ../include/id3/id3lib_streams.h:27, from ../include/id3/utils.h:35, from ../include/id3/tag.h:34, from c_wrapper.cpp:30: /usr/include/c++/3.3/ctime:68: error: `tm' not declared /usr/include/c++/3.3/ctime:70: error: `clock' not declared /usr/include/c++/3.3/ctime:71: error: `difftime' not declared /usr/include/c++/3.3/ctime:72: error: `mktime' not declared /usr/include/c++/3.3/ctime:73: error: `time' not declared /usr/include/c++/3.3/ctime:74: error: `asctime' not declared /usr/include/c++/3.3/ctime:75: error: `ctime' not declared /usr/include/c++/3.3/ctime:76: error: `gmtime' not declared /usr/include/c++/3.3/ctime:77: error: `localtime' not declared /usr/include/c++/3.3/ctime:78: error: `strftime' not declared *** Error code 1 Stop in /usr/ports/audio/id3lib/work/id3lib-3.8.3/src. *** Error code 1 Stop in /usr/ports/audio/id3lib/work/id3lib-3.8.3. *** Error code 1 Stop in /usr/ports/audio/id3lib/work/id3lib-3.8.3. *** Error code 1 Stop in /usr/ports/audio/id3lib. --Boundary-02=_IlTPAhqfsIQVYvc Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBAPTlI3Ym57eNCXiERAn71AJsFlmAPC6kH+Ji1d3JwqlO2F+6n5wCfaCcQ jiicd1X9/VuD+2ytjew9hTY= =P+tw -----END PGP SIGNATURE----- --Boundary-02=_IlTPAhqfsIQVYvc--