Replies: 2 comments
-
This seems to be a bug in the build scripts. I'll investigate. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I upgraded my toolchain from 11.2.1-1.2.2 to 11.3.1-1.1.2 and I have a build error related to Newlib version.
The _newlib_version.h header file provided by the toolchain has the following content:
/* newlib_version.h. Generated from newlib_version.hin by configure. /
/ Version macros for internal and downstream use. */
#ifndef NEWLIB_VERSION_H
#define NEWLIB_VERSION_H 1
/* The newlib version in string format. */
#define _NEWLIB_VERSION "@NEWLIB_VERSION@"
/* The newlib major version number. */
#define NEWLIB @NEWLIB_MAJOR_VERSION@
/* The newlib minor version number. */
#define NEWLIB_MINOR @NEWLIB_MINOR_VERSION@
/* The newlib patch level. */
#define NEWLIB_PATCHLEVEL @NEWLIB_PATCHLEVEL_VERSION@
#endif /* !NEWLIB_VERSION_H_ */
However, it seems that the placeholders have not been changed to their corresponding numbers and gcc complains with "error: token "@" is not valid in preprocessor expressions"
I was able to verify that in the 11.2.1-1.2.2 toolchain, this file is formatted correctly with numbers instead of placeholders.
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions