disable flex register warnings
This commit is contained in:
parent
8ced99d0fa
commit
c9296a0d1f
|
|
@ -452,8 +452,8 @@ target_include_directories(OpenSTA
|
||||||
target_compile_options(OpenSTA
|
target_compile_options(OpenSTA
|
||||||
PRIVATE
|
PRIVATE
|
||||||
$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security>
|
$<$<CXX_COMPILER_ID:GNU>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security>
|
||||||
$<$<CXX_COMPILER_ID:AppleClang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security>
|
$<$<CXX_COMPILER_ID:AppleClang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security -Wno-deprecated-register>
|
||||||
$<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security>
|
$<$<CXX_COMPILER_ID:Clang>:-Wall -Wextra -pedantic -Wcast-qual -Wredundant-decls -Wformat-security -Wno-deprecated-register>
|
||||||
)
|
)
|
||||||
|
|
||||||
# Disable compiler specific extensions like gnu++11.
|
# Disable compiler specific extensions like gnu++11.
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
|
|
||||||
// Liberty function expression lexical analyzer
|
// Liberty function expression lexical analyzer
|
||||||
|
|
||||||
#include "util/FlexDisableRegister.hh"
|
|
||||||
#include "Debug.hh"
|
#include "Debug.hh"
|
||||||
#include "StringUtil.hh"
|
#include "StringUtil.hh"
|
||||||
#include "liberty/LibertyExprPvt.hh"
|
#include "liberty/LibertyExprPvt.hh"
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,6 @@
|
||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include "util/FlexDisableRegister.hh"
|
|
||||||
#include "liberty/LibertyParser.hh"
|
#include "liberty/LibertyParser.hh"
|
||||||
#include "LibertyParse.hh"
|
#include "LibertyParse.hh"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,6 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
#include "util/FlexDisableRegister.hh"
|
|
||||||
#include "StringUtil.hh"
|
#include "StringUtil.hh"
|
||||||
#include "parasitics/SpefReaderPvt.hh"
|
#include "parasitics/SpefReaderPvt.hh"
|
||||||
#include "SpefParse.hh"
|
#include "SpefParse.hh"
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "util/FlexDisableRegister.hh"
|
|
||||||
#include "sdf/Sdf.hh"
|
#include "sdf/Sdf.hh"
|
||||||
#include "SdfParse.hh"
|
#include "SdfParse.hh"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,2 +0,0 @@
|
||||||
// Remove register declaration (not allowed in c++17).
|
|
||||||
#define register
|
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
// You should have received a copy of the GNU General Public License
|
// You should have received a copy of the GNU General Public License
|
||||||
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
// along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
#include "util/FlexDisableRegister.hh"
|
|
||||||
#include "Debug.hh"
|
#include "Debug.hh"
|
||||||
#include "VerilogNamespace.hh"
|
#include "VerilogNamespace.hh"
|
||||||
#include "verilog/VerilogReaderPvt.hh"
|
#include "verilog/VerilogReaderPvt.hh"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue