Re: [PATCH] Fix build failure with GCC 4.3
"Debarshi Ray" <[email protected]> Thu, 6 Mar 2008 17:28:51 +0530
| Newsgroups | gmane.comp.gnu.gengetopt.general |
|---|---|
| Message-ID | <[email protected]> |
> I guess this will break backward compatibility, won't it?
Even GCC 2.96 supports the modern C++ style headers:
debray@tista[205] cat hello.cpp
#include <iostream>
using namespace std;
int main (void)
{
cout << "Hello world" << endl;
return 0;
}
debray@tista[206] g++ --version
2.96
debray@tista[207] g++ hello.cpp
debray@tista[208] ./a.out
Hello world
debray@tista[209]
Considering we are going to have 4.3 sometime soon, I do not think we
should bother too much about losing backwards compatibility. :-)
Happy hacking,
Debarshi
--
"From what we get, we can make a living; what we give, however, makes a life."
-- Arthur Ashe