Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuiba committed Apr 19, 2024
1 parent 3c7d824 commit 6a84683
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions fs/test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ using namespace std;
using namespace photon;
using namespace photon::fs;

#pragma GCC diagnostic ignored "-Wsign-compare"

TEST(Path, split)
{
static const char* paths[]={
Expand Down
2 changes: 1 addition & 1 deletion io/test/test-fork.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ limitations under the License.
#include <photon/fs/localfs.h>
#include "../../test/gtest.h"

#if __GNUC__ > 11
#if __GNUC__ >= 11
#pragma GCC diagnostic ignored "-Wmismatched-dealloc"
#endif

Expand Down

0 comments on commit 6a84683

Please sign in to comment.