Author Topic: Veiwing Warnings in the Build Log window.  (Read 3814 times)

Offline WCoaster

  • Single posting newcomer
  • *
  • Posts: 2
Veiwing Warnings in the Build Log window.
« on: January 11, 2011, 11:26:05 pm »
I have an issue where my program may compile and run but I notice the blue script about some warning in the Build Log before it launches the application.

The warnings flash so quickly I can't tread them. Is there a way to read these warning when the program compiles successfully?

Thanks

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Veiwing Warnings in the Build Log window.
« Reply #1 on: January 11, 2011, 11:33:26 pm »
What about just building it, without running it directly afterwards ?

Offline WCoaster

  • Single posting newcomer
  • *
  • Posts: 2
Re: Veiwing Warnings in the Build Log window.
« Reply #2 on: January 12, 2011, 12:00:40 am »
I suppose that could work.

I was wondering if there was an option setting somewhere that I could not locate.

Thanks

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7591
    • My Best Post
Re: Veiwing Warnings in the Build Log window.
« Reply #3 on: January 12, 2011, 02:20:38 am »
There used to be an option to save Build Log to HTML file.
I can not remember where it was located.
It still exists on the Compiler "Other Option" Tab.


Tim S.
« Last Edit: January 12, 2011, 02:23:18 am by stahta01 »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ollydbg

  • Developer
  • Lives here!
  • *****
  • Posts: 5915
  • OpenCV and Robotics
    • Chinese OpenCV forum moderator
Re: Veiwing Warnings in the Build Log window.
« Reply #4 on: January 12, 2011, 02:35:11 am »
From my personal experience, sometimes when I "run" a program in C::B, the build-log message may disappeared.

So, I do not have any change to see these warnings any more. I regard this was not user friendly. :D
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.