Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcgencmd: Avoid compiler complaints #65

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 15, 2024

  1. vcgencmd: Avoid compiler complaints

    In file included from /usr/include/string.h:535,
                     from /<<PKGBUILDDIR>>/vcgencmd/vcgencmd.c:34:
    In function ‘strncat’,
        inlined from ‘gencmd’ at /<<PKGBUILDDIR>>/vcgencmd/vcgencmd.c:109:4,
        inlined from ‘main’ at /<<PKGBUILDDIR>>/vcgencmd/vcgencmd.c:152:14:
    /usr/include/arm-linux-gnueabihf/bits/string_fortified.h:138:10: warning: ‘__builtin___strncat_chk’ specified bound 1024 equals destination size [-Wstringop-overflow=]
      138 |   return __builtin___strncat_chk (__dest, __src, __len,
          |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      139 |                                   __glibc_objsize (__dest));
          |                                   ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    can be seen with "gcc -O2 -Wall"
    popcornmix committed Jan 15, 2024
    Configuration menu
    Copy the full SHA
    e02290d View commit details
    Browse the repository at this point in the history