You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (((LIB).load(exename.c_str(), NAME).errorcode != Library::ErrorCode::OK)) { \
164
-
complainMissingLib(NAME); \
165
-
return; \
166
-
} \
167
-
} while (false)
160
+
#defineLOAD_LIB_2( LIB, NAME ) do { if (((LIB).load(exename.c_str(), NAME).errorcode != Library::ErrorCode::OK)) throwstd::runtime_error("library '" + std::string(NAME) + "' not found"); } while (false)
168
161
169
162
#definePLATFORM( S, P ) do { std::string errstr; assertEquals(__FILE__, __LINE__, true, S.platform(cppcheck::Platform::platformString(P), errstr, {exename}), errstr); } while (false)
0 commit comments