Skip to content

Commit 06eeaf4

Browse files
committed
quiet clang build warning
1 parent 9330b38 commit 06eeaf4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ntvdm.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4626,7 +4626,7 @@ uint8_t HighestDrivePresent()
46264626
#endif
46274627
} //HighestDrivePresent
46284628

4629-
#if defined( __GNUC__ ) && !defined( __APPLE__ ) // bogus warning in g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
4629+
#if defined( __GNUC__ ) && !defined( __APPLE__ ) && !defined( __clang__ ) // bogus warning in g++ (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
46304630
#pragma GCC diagnostic ignored "-Wstringop-overflow"
46314631
#endif
46324632

0 commit comments

Comments
 (0)