[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [rhn-users] g++ error



Am Fre, 2003-05-16 um 04.56 schrieb Reaz:
> Hear is a small program which give the following error when compiling
> under
> redhat 9.0 but with redhat 7.0 it work fine when  using g++ or gcc

put a 
using namespace std;
after the include files.

this is the right syntax, elderly compiler didn't respect the g++
standard at this point so them would compile this (wrong) code.

R.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]