Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Renegade Discussions » Mod Forum » Compiling errors. Not renegade scripts
Re: Compiling errors. Not renegade scripts [message #388627 is a reply to message #388615] Sat, 30 May 2009 08:31 Go to previous messageGo to previous message
jnz is currently offline  jnz
Messages: 3396
Registered: July 2006
Location: 30th century
Karma:
General (3 Stars)
Omar007 wrote on Sat, 30 May 2009 14:16

jnz wrote on Sat, 30 May 2009 14:53

Omar007 wrote on Sat, 30 May 2009 12:38

jnz wrote on Sat, 30 May 2009 13:32

why are you converting it to std::?

Well things like COUT in some files have to start with 'using namespace std;' or i would have to change every COUT (and a few others like istream) to 'std::cout'

And about the std:: in the error screen by dos2unix.cpp: I have no clue. I haven't put it in that file Huh

EDIT: forgot to tell that dos2unix.cpp still gives the error when i do add 'using namespace std;' so that isn't the problem


Not talking about adding "using namespace std;" I'm asking why you're converting it in the first place?

Because i want to use it and its to old to be used on any recent compilers without converting headers and making it compatible the standards the C++ commision has set. (using namespace std;)
It does meet the standards of 1999 but it doesn't meet the standards of this time Sneaky


It doesn't matter, just suppress the compiler warnings. You shouldn't be changing code to std:: for no real reason and just changing it to that doesn't make it "up to date". It just adds bulk to it and makes it slower.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: E3 hud
Next Topic: Scripts
Goto Forum:
  


Current Time: Sat Dec 14 18:19:08 MST 2024

Total time taken to generate the page: 0.00761 seconds