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
E.g.
exception_t exception;
TRY {
} catch (exception) {
}
fails with the following error message:
test.c:13:51: error: passing 'exception_t' (aka 'struct exception_t') to parameter of incompatible
type 'exception_t *' (aka 'struct exception_t *'); take the address with &
} } trycatch_exit(); } if (trycatch_catch(exception)) {
^~~~~~~~~
&
/local/Views/swoutrun/Installs/Linux/target/include/trycatch_impl.h:39:33: note: passing argument to
parameter 'exception' here
int trycatch_catch(exception_t *exception);
Note: If we add the '&' to make it 'catch (&exception)', then it compiles.
The text was updated successfully, but these errors were encountered:
E.g.
exception_t exception;
TRY {
} catch (exception) {
}
fails with the following error message:
test.c:13:51: error: passing 'exception_t' (aka 'struct exception_t') to parameter of incompatible
type 'exception_t *' (aka 'struct exception_t *'); take the address with &
} } trycatch_exit(); } if (trycatch_catch(exception)) {
^~~~~~~~~
&
/local/Views/swoutrun/Installs/Linux/target/include/trycatch_impl.h:39:33: note: passing argument to
parameter 'exception' here
int trycatch_catch(exception_t *exception);
Note: If we add the '&' to make it 'catch (&exception)', then it compiles.
The text was updated successfully, but these errors were encountered: