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.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs