From 7cf85f7771cd66a8d4e0aa59498a423855289226 Mon Sep 17 00:00:00 2001 From: James Cherry Date: Sat, 26 Dec 2020 08:29:43 -0800 Subject: [PATCH] compile errors --- app/Main.cc | 1 + search/Power.cc | 3 +++ util/Report.cc | 1 + 3 files changed, 5 insertions(+) diff --git a/app/Main.cc b/app/Main.cc index 26553d69..ea43d73f 100644 --- a/app/Main.cc +++ b/app/Main.cc @@ -17,6 +17,7 @@ #include "StaMain.hh" #include +#include // exit #include #include "StaConfig.hh" // STA_VERSION diff --git a/search/Power.cc b/search/Power.cc index f20c3b9e..d52dc845 100644 --- a/search/Power.cc +++ b/search/Power.cc @@ -17,6 +17,7 @@ #include "Power.hh" #include // max +#include // aps #include "Debug.hh" #include "EnumNameMap.hh" @@ -60,6 +61,8 @@ namespace sta { +using std::abs; + static bool isPositiveUnate(const LibertyCell *cell, const LibertyPort *from, diff --git a/util/Report.cc b/util/Report.cc index 76ab4b4c..2139dd82 100644 --- a/util/Report.cc +++ b/util/Report.cc @@ -17,6 +17,7 @@ #include "Report.hh" #include // min +#include // exit #include "Error.hh"