Revert "flex%oneapi@2023.0.0: -Wno-error=implicit-function-declaration (#34900)" (#35181)

This reverts commit 62f83dfb6d.
This commit is contained in:
eugeneswalker 2023-01-31 18:37:10 -06:00 committed by GitHub
parent aea2c73b04
commit 68233db9f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,10 +66,6 @@ def flag_handler(self, name, flags):
iflags.append("-Wno-error=implicit-function-declaration") iflags.append("-Wno-error=implicit-function-declaration")
return (iflags, None, None) return (iflags, None, None)
def setup_build_environment(self, env):
if self.spec.satisfies("%oneapi@2023.0.0:"):
env.set("CFLAGS", "-Wno-error=implicit-function-declaration")
@classmethod @classmethod
def determine_version(cls, exe): def determine_version(cls, exe):
output = Executable(exe)("--version", output=str, error=str) output = Executable(exe)("--version", output=str, error=str)