User forums > General (but related to Code::Blocks)

Codeblocks crash on linux when building single file

<< < (3/5) > >>

oBFusCATed:
Changes pushed in SVN... please test and report if everything still works.

MortenMacFly:

--- Quote from: oBFusCATed on January 19, 2014, 12:30:37 pm ---Changes pushed in SVN... please test and report if everything still works.

--- End quote ---
Single file compilation and compilation with custom build commands per-file works (on Windows)... no issues.

Ghorgoth:
Thanks for solving this issue!
I can't compile right now for linux but i'll check as soon as i can or a nightly gets released.

Jenna:

--- Quote from: Ghorgoth on January 20, 2014, 02:51:12 pm ---Thanks for solving this issue!
I can't compile right now for linux but i'll check as soon as i can or a nightly gets released.

--- End quote ---
For CentOS, Fedora and Ddebian you can find nightlies of actual trunk on my server.
See my signature for urls.

killerbot:
I have found a side effect.

Take a regular multi target project (for example a regular debug/release) [and take one with just 1 file, eg main.cpp, doesn't matter but easier for this story]:

Ensure nothing is build yet :
- compile a single file from the project ==> compiles ok, and you see build output in the build log
- compile that single file once more (NO clean in between) ==> prints "Done" (and actually nothing to do)
   NOTE : previous build log remains visible and does not get cleared ! ==> BUG (?)
- make that file incorrect (eg remove somewhere a needed ';')
- compile single file ==> build log output, and jump to build messages with jump to offending line- compile single file again (without fixing the mistake) [leave focus in build messages] ==> retries and same failure messages [OK]
  NOTE : how the "errors" count is continuing to go up (now at 2)
- compile single file again (without fixing the mistake) [leave focus in build messages] ==> retries and same failure messages [OK]
  NOTE : how the "errors" count is continuing to go up (now at 3)
- fix the file (put back the ';' ) and compile single file
 ==> now new error message added, but in the build messages it still says 3 errors have occurred  (in the build log you see the same thing, 3 errors THOUGH the line is printed in blue)
- build your project (in my case there was only 1 file in the project)
  ==> you can see that the CB/compiler is actually DOING a compile, and now no errors ...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version