|
From: | Lorenzo Bettini |
Subject: | Re: [help-gengetopt] [PATCH] Fix build failure with GCC 4.3 |
Date: | Thu, 06 Mar 2008 13:05:06 +0100 |
User-agent: | Thunderbird 2.0.0.12 (X11/20080227) |
Debarshi Ray wrote:
I guess this will break backward compatibility, won't it?Even GCC 2.96 supports the modern C++ style headers: address@hidden cat hello.cpp #include <iostream> using namespace std; int main (void) { cout << "Hello world" << endl; return 0; } address@hidden g++ --version 2.96 address@hidden g++ hello.cpp address@hidden ./a.out Hello world address@hidden Considering we are going to have 4.3 sometime soon, I do not think we should bother too much about losing backwards compatibility. :-)
ooops... shame on me! :-) I thought that only the C++ headers (like iostream) were backward compatible and not the C headers! then I'll surely have to switch to the new headers thanks Lorenzo -- Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino ICQ# lbetto, 16080134 (GNU/Linux User # 158233) HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com http://www.myspace.com/supertrouperabba BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com http://www.gnu.org/software/src-highlite http://www.gnu.org/software/gengetopt http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
[Prev in Thread] | Current Thread | [Next in Thread] |