Skip to content

Conversation

DavidKorczynski
Copy link
Collaborator

Addressing projects that have errors like the following:

Step #23 - "compile-libfuzzer-address-x86_64": �[1m/usr/local/lib/clang/21/include/fuzzer/FuzzedDataProvider.h:206:22: �[0m�[0;1;31merror: �[0m�[1mno template named 'is_integral_v' in namespace 'std'; did you mean 'is_integral'?�[0m
Step #23 - "compile-libfuzzer-address-x86_64":   206 |   �[0;34mstatic_assert�[0m(std::is_integral_v<T>, �[0;32m"An integral type is required."�[0m);�[0m
Step #23 - "compile-libfuzzer-address-x86_64":       | �[0;1;32m                ~~~~~^
Step #23 - "compile-libfuzzer-address-x86_64": �[0m�[1m/usr/local/bin/../include/c++/v1/__type_traits/is_integral.h:25:35: �[0m�[0;1;36mnote: �[0m'is_integral' declared here�[0m
Step #23 - "compile-libfuzzer-address-x86_64":    25 | �[0;34mstruct�[0m _LIBCPP_NO_SPECIALIZATIONS is_integral : _BoolConstant<�[0;34m__is_integral�[0m(_Tp)> {};�[0m
Step #23 - "compile-libfuzzer-address-x86_64":       | �[0;1;32m                                  ^
Step #23 - "compile-libfuzzer-address-x86_64": �[0mIn file included from /src/buffer_fuzzer.cc:19:
Step #23 - "compile-libfuzzer-address-x86_64": �[1m/usr/local/lib/clang/21/include/fuzzer/FuzzedDataProvider.h:206:38: �[0m�[0;1;31merror: �[0m�[1mexpected '(' for function-style cast or type construction�[0m
Step #23 - "compile-libfuzzer-address-x86_64":   206 |   �[0;34mstatic_assert�[0m(std::is_integral_v<T>, �[0;32m"An integral type is required."�[0m);�[0m
Step #23 - "compile-libfuzzer-address-x86_64":       | �[0;1;32m                ~~~~~~~~~~~~~~~~~~~~~^
Step #23 - "compile-libfuzzer-address-x86_64": �[0m�[1m/usr/local/lib/clang/21/include/fuzzer/FuzzedDataProvider.h:274:22: �[0m�[0;1;31merror: �[0m�[1mno template named 'is_floating_point_v' in namespace 'std'; did you mean 'is_floating_point'?�[0m
Step #23 - "compile-libfuzzer-address-x86_64":   274 |   �[0;34mstatic_assert�[0m(std::is_floating_point_v<T>,�[0m

From #13848 (comment)

Ref #13915

Signed-off-by: David Korczynski <david@adalogics.com>
Signed-off-by: David Korczynski <david@adalogics.com>
Copy link
Contributor

@maflcko maflcko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm. Makes sense to bump those c++ versions. The alternative would be to use an older FDP, but this seems more involved.

Signed-off-by: David Korczynski <david@adalogics.com>
@AdamKorcz AdamKorcz merged commit b4cc084 into master Sep 2, 2025
15 checks passed
@AdamKorcz AdamKorcz deleted the bumpc++111 branch September 2, 2025 16:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants