| Summary: | The tasks list should use a yellow marker for warnings | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Oyvind Harboe <oyvind.harboe> |
| Component: | cdt-core | Assignee: | Alain Magloire <alain> |
| Status: | RESOLVED DUPLICATE | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | ||
| Version: | 2.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Code was put in the head branch to deal with this. Can you give a try? I would like to close this PR. >Code was put in the head branch to deal with this. > >Can you give a try? > >I would like to close this PR. Is the CDT 1.2.0.5 "head branch"? If so, I'll try Thursday when I'm at the office again. Øyvind *** Bug 39163 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of 30365 *** In CDT 1.2.0.7 the problem persists, but it is a bit different. There are red markers where there should be warnings and the entry in the task list is empty. Kind Status Priority Description Resource In Folder Location Warning no newline at end of file firmware.h firmware line 55 Error *** [output/rimi.bin] Error 1 firmware Error [In file included from version.cc] firmware line 1 Error [In file included from main.cc] firmware line 1 Error CommandImpl.cc firmware/commandlist line 1 Error CommandList.cc firmware/commandlist line 1 Error SerialInterpreter.cc firmware/commandlist line 1 Error BlendWidth.cc firmware/commands line 1 Error HelpCmd.cc firmware/commands line 1 Error InfoCmd.cc firmware/commands line 1 Error ITF.cc firmware/commands line 1 Error RepeatArgsCmd.cc firmware/commands line 1 Error RepeatCmd.cc firmware/commands line 1 Error SaveSettings.cc firmware/commands line 1 Error RimiUnit.cc firmware/unit line 1 c:\cygwin\bin\bash --login -c "cd /cygdrive/c/e21/workspace/firmware && ../scripts/build.sh" Current directory: /cygdrive/c/e21/workspace/firmware Setting up build environment with workspace in /cygdrive/c/e21/workspace Running make -- dependencies ./version.cc In file included from version.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./unit/RimiUnit.cc In file included from unit/RimiUnit.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./main.cc In file included from main.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commands/SaveSettings.cc In file included from commands/SaveSettings.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commands/RepeatCmd.cc In file included from commands/RepeatCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commands/RepeatArgsCmd.cc In file included from commands/RepeatArgsCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commands/ITF.cc In file included from commands/ITF.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commands/InfoCmd.cc In file included from commands/InfoCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commands/HelpCmd.cc In file included from commands/HelpCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commands/BlendWidth.cc In file included from commands/BlendWidth.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commandlist/SerialInterpreter.cc In file included from commandlist/SerialInterpreter.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commandlist/CommandList.cc In file included from commandlist/CommandList.cc:1: firmware.h:55:31: warning: no newline at end of file -- dependencies ./commandlist/CommandImpl.cc In file included from commandlist/CommandImpl.cc:1: firmware.h:55:31: warning: no newline at end of file rm -rf output/version.o mkdir --parents output -- compiling ./commandlist/CommandImpl.cc In file included from commandlist/CommandImpl.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commandlist/CommandList.cc In file included from commandlist/CommandList.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commandlist/SerialInterpreter.cc In file included from commandlist/SerialInterpreter.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commands/BlendWidth.cc In file included from commands/BlendWidth.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commands/HelpCmd.cc In file included from commands/HelpCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commands/InfoCmd.cc In file included from commands/InfoCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commands/ITF.cc In file included from commands/ITF.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commands/RepeatArgsCmd.cc In file included from commands/RepeatArgsCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commands/RepeatCmd.cc In file included from commands/RepeatCmd.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./commands/SaveSettings.cc In file included from commands/SaveSettings.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./main.cc In file included from main.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./unit/RimiUnit.cc In file included from unit/RimiUnit.cc:1: firmware.h:55:31: warning: no newline at end of file -- compiling ./version.cc In file included from version.cc:1: firmware.h:55:31: warning: no newline at end of file -- linking output/./commandlist/CommandList.o:commands/ITF.h:23: undefined reference to `CommandContext::getUnit()' output/./commandlist/CommandList.o:exceptions/SyntaxError.h:14: undefined reference to `vtable for CommandContext' output/./commandlist/SerialInterpreter.o:../ramapp/install/include/cyg/libc/stdi o/stdio.inl:111: undefined reference to `CommandContext::getUnit()' collect2: ld returned 1 exit status make: *** [output/rimi.bin] Error 1 |
With this output, I get red markers wheras they are only warnings. c:\cygwin\bin\bash --login -c "cd /cygdrive/c/e21/workspace/firmware && ../scripts/build.sh" Current directory: /cygdrive/c/e21/workspace/firmware Setting up build environment with workspace in /cygdrive/c/e21/workspace Running make -- dependencies ./version.cc In file included from firmware.h:44, from version.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./main.cc In file included from firmware.h:44, from main.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commands/SaveSettings.cc In file included from firmware.h:44, from commands/SaveSettings.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commands/RepeatCmd.cc In file included from firmware.h:44, from commands/RepeatCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commands/RepeatArgsCmd.cc In file included from firmware.h:44, from commands/RepeatArgsCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commands/InfoCmd.cc In file included from firmware.h:44, from commands/InfoCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commands/HelpCmd.cc In file included from firmware.h:44, from commands/HelpCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commands/BlendWidth.cc In file included from firmware.h:44, from commands/BlendWidth.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commandlist/SerialInterpreter.cc In file included from firmware.h:44, from commandlist/SerialInterpreter.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commandlist/CommandList.cc In file included from firmware.h:44, from commandlist/CommandList.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- dependencies ./commandlist/CommandImpl.cc In file included from firmware.h:44, from commandlist/CommandImpl.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file rm -rf output/version.o mkdir --parents output -- compiling ./commandlist/CommandImpl.cc In file included from firmware.h:44, from commandlist/CommandImpl.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commandlist/CommandList.cc In file included from firmware.h:44, from commandlist/CommandList.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commandlist/SerialInterpreter.cc In file included from firmware.h:44, from commandlist/SerialInterpreter.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commands/BlendWidth.cc In file included from firmware.h:44, from commands/BlendWidth.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commands/HelpCmd.cc In file included from firmware.h:44, from commands/HelpCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commands/InfoCmd.cc In file included from firmware.h:44, from commands/InfoCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commands/RepeatArgsCmd.cc In file included from firmware.h:44, from commands/RepeatArgsCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commands/RepeatCmd.cc In file included from firmware.h:44, from commands/RepeatCmd.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./commands/SaveSettings.cc In file included from firmware.h:44, from commands/SaveSettings.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./main.cc In file included from firmware.h:44, from main.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- compiling ./version.cc In file included from firmware.h:44, from version.cc:1: commands/SaveSettings.h:11:3: warning: no newline at end of file -- linking text data bss dec hex filename 71204 3008 19712 93924 16ee4 output/rimi.elf -- Done!