19#ifndef BACKENDS_TOFINO_BF_P4C_LIB_ERROR_TYPE_H_
20#define BACKENDS_TOFINO_BF_P4C_LIB_ERROR_TYPE_H_
22#include <lib/error_catalog.h>
31 static const int WARN_TABLE_PLACEMENT = 1501;
32 static const int WARN_PRAGMA_USE = 1502;
33 static const int WARN_SUBSTITUTION = 1503;
34 static const int WARN_PHV_ALLOCATION = 1504;
35 static const int WARN_UNINIT_OVERLAY = 1505;
37 static const int FIRST_BACKEND_WARNING = WARN_TABLE_PLACEMENT;
45 void printWarningsHelp(std::ostream &out);
52 .
add<ErrorMessage::MessageType::Warning, WARN_TABLE_PLACEMENT>(
"table-placement");
60 "uninitialized-overlay");
static ErrorType & getErrorTypes()
in case we need to
Definition error_type.h:40
static ErrorCatalog & getCatalog()
Return the singleton object.
Definition error_catalog.h:105
bool add(const char *name, bool forceReplace=false)
Definition error_catalog.h:117
Definition error_catalog.h:33
The namespace encapsulating Barefoot/Intel-specific stuff.
Definition add_t2na_meta.cpp:21
TODO: this is not really specific to BMV2, it should reside somewhere else.
Definition applyOptionsPragmas.cpp:24