Skip to content

Commit

Permalink
scnlib: 3.0.2 onwards works for gcc 11 (#26232)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbrilRBS authored Dec 20, 2024
1 parent 314b92f commit 4622ac8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/scnlib/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def validate(self):
# TODO: This should probably be a del self.options.header_only in config_options once the CI supports it
if self.options.header_only:
raise ConanInvalidConfiguration(f"{self.ref} doesn't support header only mode.")
if self.settings.compiler == "gcc" and Version(self.settings.compiler.version).major == "11":
if Version(self.version) < "3.0.2" and self.settings.compiler == "gcc" and Version(self.settings.compiler.version).major == "11":
raise ConanInvalidConfiguration(f"{self.ref} doesn't support gcc 11.x due to std::regex_constants::multiline is not defined.")

def build_requirements(self):
Expand Down

0 comments on commit 4622ac8

Please sign in to comment.