Skip to content

Commit 549668f

Browse files
committed
Require GNU mode
1 parent 5df3cd8 commit 549668f

File tree

3 files changed

+2
-7
lines changed

3 files changed

+2
-7
lines changed

test/roundtrip_decimal128.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -359,11 +359,6 @@ int main()
359359
test_roundtrip_conversion_integer<std::int64_t>(-9'999'999, 9'999'999);
360360
test_roundtrip_conversion_integer<std::uint64_t>(0, 9'999'999);
361361

362-
#ifdef BOOST_DECIMAL_HAS_INT128
363-
test_roundtrip_conversion_integer<detail::int128_t>(detail::int128_t(INT64_MAX) * -10, detail::int128_t(INT64_MAX) * 10);
364-
test_roundtrip_conversion_integer<detail::uint128_t>(0, detail::uint128_t(UINT64_MAX) * 10);
365-
#endif
366-
367362
test_conversion_from_float<float>();
368363
test_conversion_from_float<double>();
369364

test/roundtrip_decimal32.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ int main()
262262
test_roundtrip_conversion_integer<std::int64_t>(-9'999'999, 9'999'999);
263263
test_roundtrip_conversion_integer<std::uint64_t>(0, 9'999'999);
264264

265-
#ifdef BOOST_DECIMAL_HAS_INT128
265+
#if defined(BOOST_DECIMAL_HAS_INT128) && !defined(__STRICT_ANSI__)
266266
test_roundtrip_conversion_integer<detail::int128_t>(-9'999'999, 9'999'999);
267267
test_roundtrip_conversion_integer<detail::uint128_t>(0, 9'999'999);
268268
#endif

test/roundtrip_decimal64.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ int main()
278278
test_roundtrip_conversion_integer<std::int64_t>(-9'999'999, 9'999'999);
279279
test_roundtrip_conversion_integer<std::uint64_t>(0, 9'999'999);
280280

281-
#ifdef BOOST_DECIMAL_HAS_INT128
281+
#if defined(BOOST_DECIMAL_HAS_INT128) && !defined(__STRICT_ANSI__)
282282
test_roundtrip_conversion_integer<detail::int128_t>(-9'999'999, 9'999'999);
283283
test_roundtrip_conversion_integer<detail::uint128_t>(0, 9'999'999);
284284
#endif

0 commit comments

Comments
 (0)