You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mynewt.apache.org by inderpal singh <ip...@gmail.com> on 2019/07/08 05:35:15 UTC

build error in cpp file

Hi There,

I am trying to build simple cpp application file in mynewt, but not able to
build so getting lot of compilation error. Any pointer on this would be
great help

-------------
usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:46:35:
error: '_U' was not declared in this scope
     static const mask upper     = _U;
                                   ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:47:32:
error: '_L' was not declared in this scope
     static const mask lower  = _L;
                                ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:48:32:
error: '_U' was not declared in this scope
     static const mask alpha  = _U | _L;
                                ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:48:37:
error: '_L' was not declared in this scope
     static const mask alpha  = _U | _L;
                                     ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:49:32:
error: '_N' was not declared in this scope
     static const mask digit  = _N;
                                ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:50:33:
error: '_X' was not declared in this scope
     static const mask xdigit  = _X | _N;
                                 ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:50:38:
error: '_N' was not declared in this scope
     static const mask xdigit  = _X | _N;
                                      ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:51:32:
error: '_S' was not declared in this scope
     static const mask space  = _S;
                                ^
/usr/include/newlib/c++/4.9.3/arm-none-eabi/armv7-m/bits/ctype_base.h:52:32:
error: '_P' was not declared in this scope
     static const mask print  = _P | _U | _L | _N | _B;
----
Thanks & regards,
Inderpal