Skip to content

Commit

Permalink
Merge pull request #38 from wojas/lmdb-warning-macos
Browse files Browse the repository at this point in the history
macOS: fix unknown warning -Wno-stringop-overflow
  • Loading branch information
wojas authored Jan 2, 2025
2 parents c2681f8 + 2bfc8c3 commit 0745f17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lmdb/lmdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ details about dealing with such situations.
package lmdb

/*
#cgo CFLAGS: -pthread -W -Wall -Wno-unused-parameter -Wno-format-extra-args -Wbad-function-cast -Wno-missing-field-initializers -Wno-stringop-overflow -O2 -g
#cgo CFLAGS: -pthread -W -Wall -Wno-unused-parameter -Wno-format-extra-args -Wbad-function-cast -Wno-missing-field-initializers -Wno-stringop-overflow -Wno-unknown-warning-option -O2 -g
#cgo linux,pwritev CFLAGS: -DMDB_USE_PWRITEV
#include "lmdb.h"
Expand Down

0 comments on commit 0745f17

Please sign in to comment.