Bug #18813 2012-11-30 15:30
zuljin
Build logs are incorrect if build was run using SSH client
In my work I have to use remote compilation.
I connect to build server using SSH client and call make to build everything.
In codeblocks I setup custom make commands that instead calling local make calls ssh client.
This works pretty well with exception to one details.
Output from ssh client (plink or cygwin ssh) is sometimes displayed in Build log window with additional new line character.
So for example codeblocks instead of displaying one line:
"foo/bar.cpp", line 62: warning: declaration does not declare anything"
adds additional new line character and break it to 2 lines:
"foo/bar.cpp", line 62: war
ning: declaration does not declare anything"
This kind of behavior leads to not displaying warnings and errors in Build messages window, because regex rules that parse output doesn't work for multiline.
I assume this situation is caused by some differences in how stdout/stdin buffers works for ssh clients. Probably ssh clients can flush buffer in the middle of line and codeblocks doesn't expect this and think that every flush is always at the end of line.
- Category
- Application::Interface
- Group
- Platform:All
- Status
- Open
- Close date
- Assigned to
History
+1
Same issue when I use Altera QuartusII to build Verilog project (I`m add call quartus compiler to prebuild steps and wrote custom parser rules for it).
+1
Same issue when I use Altera QuartusII to build Verilog project (I`m add call quartus compiler to prebuild steps and wrote custom parser rules for it).