RTEMS Tools | misc/bin2c: Silence warning on FreeBSD (clang) (!38)
Chris Johns (@chris)
gitlab at rtems.org
Fri Nov 1 01:52:49 UTC 2024
Chris Johns created a merge request: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/38
Project:Branches: chris/rtems-tools:freebsd-clang-warning-bin2c to rtems/tools/rtems-tools:main
Author: Chris Johns
Assignee: Chris Johns
Silence the following warning on FreeBSD:
```
../misc/bin2c/rtems-bin2c.c:143:16: warning: '_Generic' is a C11 extension [-Wc11-extensions]
143 | ifbasename = basename(ifbasename_to_free);
| ^
/usr/include/libgen.h:60:21: note: expanded from macro 'basename'
60 | #define basename(x) __generic(x, const char *, __old_basename, basename)(x)
| ^
/usr/include/sys/cdefs.h:322:2: note: expanded from macro '__generic'
322 | _Generic(expr, t: yes, default: no)
| ^
1 warning generated.
```
--
View it on GitLab: https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/38
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241101/a9aa9866/attachment.htm>
More information about the bugs
mailing list