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
Ah, it's the docs. Had I not turned off warnings I would have spotted the problem right away too: I was passing a pointer to a function with the wrong signature! This example runs just fine:
I couldn't get the example shown in the docs to run properly (after fixing several syntax errors!), so I put together this simple test program:
The output of the program is:
Program was compiled with GCC 6.2.1:
Any ideas as to what's going on?
The text was updated successfully, but these errors were encountered: