Test: int_overflow.cpp int_overflow.cpp: In member function 'int PriceCalculator::calculateTotal(int, int)': int_overflow.cpp:8:88: error: 'INT_MAX' was not declared in this scope 8 | if ((static_cast(pricePerUnit) * quantity) > static_cast(INT_MAX)) { | ^~~~~~~ int_overflow.cpp:2:1: note: 'INT_MAX' is defined in header ''; did you forget to '#include '? 1 | #include +++ |+#include 2 |