Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 24 Jun 2011
Offline Last Active Jun 25 2011 08:52 AM

Posts I've Made

In Topic: lesson35_linux error

24 June 2011 - 03:29 AM

"lesson35.cpp:117:49: warning: deprecated conversion from string constant to ‘char*’"

That one needs fixing by making the pointer a "const char *" pointer. It's probably a statement saying something like char *foo="wibble"; which is no longer allowed.

That's not really a linuxism, that's a "modern C++ ism".

memcpy is in string.h so put a "#include <string.h>" at the top of that file.

StreamInfo appears to be a microsoft class for something. I'd need to actually look at the code for that one and I'm at work at the moment.

thanks for the reply
streaminfo problem i solved.
but i am getting some other problem

/tmp/cciW6YPT.o: In function `main':
lesson35.cpp:(.text+0xb7): undefined reference to `avm::CreateReadFile(char const*, unsigned int)'
lesson35.cpp:(.text+0xd2): undefined reference to `avm::CreateReadFile(char const*, unsigned int)'

what i need to do?