Skip to content

Make code compile with Clang 12.

Reiner Hauser requested to merge clang12 into master

This just extends the preprocessor test to work around the infamous filesystem clock problem.

Clang uses the libstdc++ from g++10.2 but it defines the __GNUC__ symbol a 4. The easiest was to extend the #if statement to also check for __clang__.

This might not work with older clang versions, but we don't really care.

Edited by Reiner Hauser

Merge request reports