VirtualBox

Changeset 97309 in vbox


Ignore:
Timestamp:
Oct 26, 2022 3:55:23 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
154300
Message:

Prevent GCC 12.2.1 warning which caused build failure.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/NetworkServices/NAT/pxping.c

    r96407 r97309  
    10111011
    10121012
     1013/* GCC 12.2.1 complains that array subscript is partly outside
     1014 * of array bounds in expansion of ipX_addr_cmp. */
     1015#if RT_GNUC_PREREQ(12, 0)
     1016# pragma GCC diagnostic push
     1017# pragma GCC diagnostic ignored "-Warray-bounds"
     1018#endif
    10131019/**
    10141020 * Called on pollmgr thread.  Caller must do the locking since caller
     
    10341040    return NULL;
    10351041}
     1042#if RT_GNUC_PREREQ(12, 0)
     1043# pragma GCC diagnostic pop
     1044#endif
    10361045
    10371046
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