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
I created pull request #16 which solves this issue and #15.
The source of the problem is that freopen in Ubuntu 14.04 is defined with __attribute__((warn_unused_result)) so it will generate a warning (I guess that in other platforms it's lacking this attribute). Since warnings are treated as errors , ignoring the return value of freopen breaks the build. #16 asserts the the return value is non-null.
Hi,
I tried to compile in the current HEAD on Ubuntu 14.04 and Im getting
I guess that the
freopen
call should be wrapped in anassert()
The text was updated successfully, but these errors were encountered: