You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
■ Contents and Occurrence conditions
Including a specific header file in which the abs function is defined will result in the following build error.
error: too many arguments provided to function-like macro invocation
Header files that cause build errors when included are listed below. <algorithm>, <any>, <array>, <atomic>, <bitset>, <ccomplex>, <chrono>, <codecvt>, <complex>, <condition_variable>, <ctgmath>, <deque>, <filesystem>, <format>, <forward_list>, <fstream>, <functional>, <iomanip>, <ios>, <iostream>, <istream>, <list>, <locale>, <map>, <mdspan>, <memory>, <memory_resource>, <mutex>, <numeric>, <optional>, <ostream>, <print>, <queue>, <random>, <ranges>, <regex>, <scoped_allocator>, <set>, <span>, <sstream>, <stack>, <streambuf>, <string>, <string_view>, <strstream>, <system_error>, <unordered_map>, <unordered_set>, <valarray>, <vector>
■ Workaround
Before including the specific header file in which the abs function is defined, write the following.
#undef abs
■ Permanent measures
Scheduled to be fixed in v.1.2.0
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
■ Corresponding version
v.1.0.0 and v.1.1.0
■ Contents and Occurrence conditions
Including a specific header file in which the abs function is defined will result in the following build error.
error: too many arguments provided to function-like macro invocation
Header files that cause build errors when included are listed below.
<algorithm>, <any>, <array>, <atomic>, <bitset>, <ccomplex>, <chrono>, <codecvt>, <complex>, <condition_variable>, <ctgmath>, <deque>, <filesystem>, <format>, <forward_list>, <fstream>, <functional>, <iomanip>, <ios>, <iostream>, <istream>, <list>, <locale>, <map>, <mdspan>, <memory>, <memory_resource>, <mutex>, <numeric>, <optional>, <ostream>, <print>, <queue>, <random>, <ranges>, <regex>, <scoped_allocator>, <set>, <span>, <sstream>, <stack>, <streambuf>, <string>, <string_view>, <strstream>, <system_error>, <unordered_map>, <unordered_set>, <valarray>, <vector>
■ Workaround
Before including the specific header file in which the abs function is defined, write the following.
#undef abs
■ Permanent measures
Scheduled to be fixed in v.1.2.0
The text was updated successfully, but these errors were encountered: