Author Topic: Lost the task description when use VC Compiler  (Read 4424 times)

Offline Loaden

  • Lives here!
  • ****
  • Posts: 1014
Lost the task description when use VC Compiler
« on: September 30, 2010, 01:51:36 am »
Hi, All!
I am set "Global compiler settings > Other settings > Compiler logging" value as "Task description (e.g. "Compiling <file>...")".
If use GCC Compiler, it is works well!
But, If use VC will not show "Compiling: " before the compiled file.
Quote
-------------- Build: Debug in dedfew ---------------

Linking console executable: bin\Debug\dedfew.exe
main.cpp
Output size is 461.00 KB
Process terminated with status 0 (0 minutes, 1 seconds)
0 errors, 0 warnings (0 minutes, 1 seconds)

It is a bug, or a feature?

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 6077
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Lost the task description when use VC Compiler
« Reply #1 on: September 30, 2010, 04:36:21 am »
I guess there is bug of compiler plug-in when parsing the VC's log.
If some piece of memory should be reused, turn them to variables (or const variables).
If some piece of operations should be reused, turn them to functions.
If they happened together, then turn them to classes.