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
../../src/gap.c:979:12: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'Obj' (aka 'unsigned long long **') [-Wint-conversion]
return ReadGuard(args), 0;
^~~~~~~~~~~~~~~~~~
As it is, I am confused: Why does ward insert ReadGuard(args) here at all, and why twice?
Is this a bug (resp. a case of ward being too eager), or am I missing something here?
The text was updated successfully, but these errors were encountered:
This is extremely odd. I’m not sure why the C compiler emits a warning here. The insertion of the ReadGuard() is probably related to something that I’ve been looking into recently.
And which also leads to the creation of superfluous guards elsewhere.
The nodes in the program graph are traversed in the order they are created for purposes of autogenerating guards, but do not necessarily reflect the control flow in a function.
I am seeing some compiler warnings for some code mangled by ward. Specifically,
ward
turns this code:into this:
The warning I get is this:
As it is, I am confused: Why does
ward
insertReadGuard(args)
here at all, and why twice?Is this a bug (resp. a case of
ward
being too eager), or am I missing something here?The text was updated successfully, but these errors were encountered: