the problem only happens when i try create a release...

Posted by ace on Stack Overflow See other posts from Stack Overflow or by ace
Published on 2010-04-28T20:33:25Z Indexed on 2010/04/28 20:37 UTC
Read the original article Hit count: 237

I'm sorry if im not presenting this right, but i trully cannot understand what the problem is. i have a project to hand in, a code of 600 lines defined within a main, .cpp, and header file.

if i compile the project with just a debugger and no release, it's fine.

when i create it with the release, the following error occurs, for every function!!!

1st error: |36|multiple definition of `countLines(int&, std::vector > const&)'|

2nd error: |36|first defined here|

if someone will allow me and i can send them the entire code, that would be awesome - i have to have this done within 3 hours.

© Stack Overflow or respective owner

Related posts about c++

Related posts about compiler-errors