Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jul 2002 14:33:39 +0200 (CEST)
From:      Gerald Pfeifer <pfeifer@dbai.tuwien.ac.at>
To:        freebsd-stable@freebsd.org
Subject:   GCC/header-related regressions on -STABLE
Message-ID:  <Pine.BSF.4.44.0207111354090.22305-100000@pulcherrima.dbai.tuwien.ac.at>

next in thread | raw e-mail | index | archive | help
standards/40084 and standards/40402 constitute significant regressions
on -STABLE, which definitely should be fixed for 4.6.1-RELEASE.

Having three-line C++ programs like the following
  #include <iostream>
  #include <string>
  int main() { }
issue three(!) warnings with g++ -pedantic is A Very Bad Thing[TM],
especially on -STABLE.


I'd did a bit of investigation, and the source of this problem seems to be
revision 1.6.2.2 of contrib/gcc/cccp.c. Either this should be reverted, or
/usr/include/stddef.h and stdlib.h fixed.

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.44.0207111354090.22305-100000>