Trying to migrate a VC++ 6.0 project to Visual C++ 2005 express.
I think things are going okay but this one compiler error is something that Ive just got hung up on, does this mean that I HAVE to declare return type for all my functions in this version - that the compiler wont make the return type int if I dont specify one?
Im guessing this is some new part of the ISO C++ that I have just missed. Its not a difficult error to fix - but it is annoying and stupid, is there no way to work around this? Cant I change some option on the compiler to make it work like my old one does?
/Jimmie
View the full article
I think things are going okay but this one compiler error is something that Ive just got hung up on, does this mean that I HAVE to declare return type for all my functions in this version - that the compiler wont make the return type int if I dont specify one?
Im guessing this is some new part of the ISO C++ that I have just missed. Its not a difficult error to fix - but it is annoying and stupid, is there no way to work around this? Cant I change some option on the compiler to make it work like my old one does?
/Jimmie
View the full article