Re: std::strcpy is not a member

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

 



Hi Vardhan,

> Recently compiled gcc 4.4.3 for AIX using the following configure
> options :
> 
>  --with-as=/usr/bin/as --with-ld=/usr/bin/ld
> --enable-languages=c,c++,fortran --prefix=/cots/gnu/gcc443
> --enable-threads --enable-version-specific-runtime-libs --disable-nls
> --enable-decimal-float=dpd --host=powerpc-ibm-aix5.3.0.0
> 
> Successfully installed and compiled my application. I get the following
> error on the C++ code compilation :
> error: 'strcpy' is not a member of 'std'
> 
> The source code does have "using namespace std;"
> 
> The same source code does not have an issue with gcc 4.2.3 on AIX.  Am I
> missing something when building the new compiler version?
> 
> I would very much appreciate if you can give me pointers or solution for
> this issue.

Worked on my machine.

Do you have a small exemplary toy program that exhibits the problem?  To use
as a test case.

Thanks,
--Eljay



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux