Compile Issues with Recent GCC #895
Reference in New Issue
Block a user
No description provided.
Delete Branch "fixes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
GCC 8.3.0 (and possibly all gcc 7+) identified several warnings for signed unsigned integer comparison. With
-Werror
enabled this broke compiling tests. I suspect the warning is related to google/googletest#683. This diff updates thoseASSERT_EQ
calls that attempt to compare signed and unsigned errors by specifically declaring the literals to be unsigned.There is also an issue with Buck where it will not link to pthreads. facebook/buck#1443. Adding a
prebuilt_cxx_library
for pthread fixes that issue and the tests will compile and run.Finally, there was a warning about a missing return after a switch in
InstrumentationTest.cpp
. I added areturn ""
as a default, but it might be better to throw something. Thoughts?@davidaurelio has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@HurricaneJames has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@HurricaneJames has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@davidaurelio merged this pull request in facebook/yoga@1c8e8d3aec.
Pull request closed