Citiraj:
Originally posted by Tooma
...
a sto se tice druge recenice - sta oces rec da unixi nemaju c++ kompajlere?
|
Ne zelim to reci, vec da ce ti javiti gresku kad budes to kompajlirao pod unixom..
EDIT: evo ti output
In file included from /opt/local/include/c++/3.2/backward/iostream.h:31,
from a.cpp:1:
/opt/local/include/c++/3.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the
header for the header for C++ includes, or instead of the deprecated header . To disable this warning use -Wno-deprecated.
a.cpp:30:2: warning: no newline at end of file
Undefined first referenced
symbol in file
std::ios_base::Init::~Init [in-charge]()/var/tmp//ccADhR4x.o
std::ios_base::Init::Init[in-charge]()/var/tmp//ccADhR4x.o
std::basic_ostream >:
perator<<(std::basic_ostream >& (*)(std::basic_ostream >&))/var/tmp//ccADhR4x.o
std::cout /var/tmp//ccADhR4x.o
std::basic_ostream >& std:
perator<< >(std::basic_ostream >&, char const*)/var/tmp//ccADhR4x.o
std::basic_istream >:
perator>>(long&)/var/tmp//ccADhR4x.o
__gxx_personality_v0 /var/tmp//ccADhR4x.o
std::basic_ostream >& std::endl >(std::basic_ostream >&)/var/tmp//ccADhR4x.o
std::basic_ostream >:
perator<<(long)/var/tmp//ccADhR4x.o
std::cin /var/tmp//ccADhR4x.o
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status