Chris Johns commented on a discussion on cpukit/sapi/src/version.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113828 > +{ > + /* > + * RTEMS 5 and 6 only provide the VC key. The VC key header will be > + * moved to `version-release-label.h` after RTEMS 6 > + */ > +#ifdef RTEMS_VERSION_CONTROL_KEY > + return RTEMS_VERSION_CONTROL_KEY; > +#else > + return ""; > +#endif > +} > + > +bool rtems_version_release_label_is_valid( void ) > +{ > + const char* release_label = rtems_version_release_label( ); > + return release_label[ 0 ] != '\0'; Yes. Only the RTEMS project can set the release label to `""`. This is a 1:1 replacement for the VC key call. -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/257#note_113828 You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________ bugs mailing list [email protected] http://lists.rtems.org/mailman/listinfo/bugs
