VirtualBox

Changeset 3574 in kBuild for trunk/src/kash/syntax.c


Ignore:
Timestamp:
Dec 14, 2022 9:33:19 AM (2 years ago)
Author:
bird
Message:

kash: shut up annoying warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/syntax.c

    r1233 r3574  
    113113#define set_range(s, e, val) [ndx(s) ... ndx(e)] = val,
    114114
     115/* Shut up the pedantic warnings about set_range() */
     116#ifdef __GNUC__
     117# if __GNUC__ >= 5 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
     118#  pragma GCC diagnostic ignored "-Wpedantic"
     119# endif
     120#endif
     121
    115122/* syntax table used when not in quotes */
    116123const char basesyntax[257] = { CSHEOF,
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette