Code::Blocks Forums

User forums => Help => Topic started by: LonelySTar on January 19, 2006, 03:23:08 pm

Title: build messages
Post by: LonelySTar on January 19, 2006, 03:23:08 pm
Hello together,
When I compile something, the build message window shows me the error. But because the message part is to small, many messages get cut off. In example:

(Each undeclared identifier is reported

Expanding the message part does not help, because on every build it just goes back to the original size.
What can I do?
Thanks!
Nathan
Title: Re: build messages
Post by: thomas on January 19, 2006, 04:08:35 pm
What release/platform do you use?
Title: Re: build messages
Post by: LonelySTar on January 19, 2006, 04:09:32 pm
Linux. And a SVN release, not older than 1 week.
Title: Re: build messages
Post by: Ceniza on January 19, 2006, 04:19:22 pm
Hmmm, maybe adding -fmessage-length=0 to the compiler options...
Title: Re: build messages
Post by: thomas on January 19, 2006, 04:35:05 pm
Linux. And a SVN release, not older than 1 week.
Then you should be able to arrage everything and then choose "Save Layout" from the "View" menu, does that not work? It should restore everything the way you have arranged it the next time.
I do understand the problem correctly, don't I? It is the actual window that is too small, not the text being truncated?
Title: Re: build messages
Post by: LonelySTar on January 19, 2006, 09:35:29 pm
Thanks for all your replies. Unfortanatly non help :(. The Problem:
My "Build messages" tab looks like this:
|-File----------------------------------|-Line-|-Message------------------------------|

Now, all messages are truncated to the width of the "-Message----" part (which on every buildjumps back to its original size).
Expanding the "-Message------" part does NOT show the rest of the message.
I hope I made my proble clear :)
Thanks for any help!
Nathan
Title: Re: build messages
Post by: mandrav on January 19, 2006, 09:36:54 pm
Thanks for all your replies. Unfortanatly non help :(. The Problem:
My "Build messages" tab looks like this:
|-File----------------------------------|-Line-|-Message------------------------------|

Now, all messages are truncated to the width of the "-Message----" part (which on every buildjumps back to its original size).
Expanding the "-Message------" part does NOT show the rest of the message.
I hope I made my proble clear :)
Thanks for any help!
Nathan

Actually, IIRC, the Message column expands to the size of the largest message. So do what ceniza told you: add -fmessage-length=0 in your project's compiler options.
Title: Re: build messages
Post by: LonelySTar on January 19, 2006, 10:23:36 pm
OK, I misunderstood. I put -fmessage-length=0 into my custom makefile. Putting it into the compiler options solved the problem!
Thanks!