c++.command-line - Linker undefined symbol
- DQNOK (13/13) Oct 16 2007 When I compile two files with the dmc command line, I get:
- Walter Bright (2/18) Oct 18 2007 Grep will tell you which .obj file it is in.
When I compile two files with the dmc command line, I get: ... link Qstring+bits,,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved bits.obj(bits) Error 42: Symbol Undefined ??0String QAE I Z (syscall String::String(unsigned )) --- errorlevel 1 Both files compile fine. How do I find where the undefined symbol is being used within the source file? I can't find it in the map files.
Oct 16 2007
DQNOK wrote:When I compile two files with the dmc command line, I get: ... link Qstring+bits,,,user32+kernel32/noi; OPTLINK (R) for Win32 Release 7.50B1 Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved bits.obj(bits) Error 42: Symbol Undefined ??0String QAE I Z (syscall String::String(unsigned )) --- errorlevel 1 Both files compile fine. How do I find where the undefined symbol is being used within the source file? I can't find it in the map files.Grep will tell you which .obj file it is in.
Oct 18 2007