8#ifndef PXR_ARCH_ERROR_H
9#define PXR_ARCH_ERROR_H
31void Arch_Error(
const char* msg,
const char* funcName,
32 size_t lineNo,
const char* fileName);
43void Arch_Warning(
const char* msg,
const char* funcName,
44 size_t lineNo,
const char* fileName);
51#define ARCH_ERROR(msg) \
52 pxr::Arch_Error(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
59#define ARCH_WARNING(msg) \
60 pxr::Arch_Warning(msg, __ARCH_FUNCTION__, __LINE__, __ARCH_FILE__)
64#define ARCH_AXIOM(cond) \
65 if (!(cond)) ARCH_ERROR("[" #cond "] axiom failed")
Define preprocessor function name macros.