1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00
cdt/core
Torbjorn-Svensson 1b2472faff
Ignore lines with "in function" and "In function" (#534)
In recent binutils version, the warning, for stubbed functions, is
properly printed and due to this correction, linking a project with
stubbed functions fails the build in headless build rather than
just printing the warnings.

Example:
.../arm-none-eabi/bin/ld.exe: .../libc.a(libc_a-writer.o): in function `_write_r':
(.text._write_r+0x10): warning: _write is not implemented and will always fail
...
12:02:52 Build Failed. 8 errors, 8 warnings. (took 6s.284ms)

The first line matches the error pattern (.*[/\\])?ld(\.exe)?: (.*)
that incorectly fails the build in headless mode (a single line matching
a pattern with severity "error" fails the build) when there are really
only warnings in the build log.

The problem can be obsered using the GCC 11 (and later) toolchain
builds with newlib for the arm-none-eabi target provided by Arm.

Signed-off-by: Torbjörn Svensson <torbjorn.svensson@st.com>
2023-09-01 11:25:45 -04:00
..
org.eclipse.cdt.core Ignore lines with "in function" and "In function" (#534) 2023-09-01 11:25:45 -04:00
org.eclipse.cdt.core.linux Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.core.linux.aarch64 Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.core.linux.ppc64le Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.core.linux.x86_64 Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.core.macosx Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.core.native Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.core.tests Ignore lines with "in function" and "In function" (#534) 2023-09-01 11:25:45 -04:00
org.eclipse.cdt.core.win32 Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.core.win32.x86_64 Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00
org.eclipse.cdt.ui Refactor XML file handling 2023-08-16 11:06:59 -04:00
org.eclipse.cdt.ui.tests Refactor XML file handling 2023-08-16 11:06:59 -04:00
pom.xml Prepare repo for CDT 11.3.0 development 2023-07-10 21:41:39 -04:00