Skip to content

Warnings are disabled on gcc/clang (-w flag is leaking from third_party) #11179

@jmarrec

Description

@jmarrec

Issue overview

@Myoldmopar reported that the -w flag is leaking to the EnergyPlus code.

https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html

-w
Inhibit all warning messages.

This issue should ensure:

  • -w no longer passes
  • Enabling -Werror on gcc/clang and fixing all the warnings

Operating System (Multiple choices)

Ubuntu, MacOS

Operating System Version

N/A

Version of EnergyPlus

2d0b846

Unmethours link or helpdesk ticket number

N/A

Defect file

No response

Metadata

Metadata

Assignees

Labels

DefectIncludes code to repair a defect in EnergyPlusDeveloper IssueRelated to cmake, packaging, installers, or developer tooling (CI, etc)

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions