Cl and too long command line
-
In my project's pro file i added a very long line to DEFINES variable. When trying to compile (MSVC 9.0) following error appears (without any dependency on that line's contents):
@jom 1.0.6 - empower your corescommand failed with exit code 2
command failed with exit code 2
command failed with exit code 2
command failed with exit code 2
command failed with exit code 2
The process "C:\Qt\qtcreator-2.3.0\bin\jom.exe" exited with code 2.
Error while building project yaBuhgalterProject (target: Desktop)
When executing build step 'Make'@Without that long line everything is OK.
Is that a bug in cl.exe? -
More likely in cmd. See http://support.microsoft.com/kb/830473