Date: Thu, 26 Feb 2004 01:09:41 +0100 From: Arjan van Leeuwen <avleeuwen@piwebs.com> To: freebsd-current@freebsd.org Subject: Error compiling C++ programs with ctime Message-ID: <200402260109.44508.avleeuwen@piwebs.com>
next in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402260109.44508.avleeuwen>