Skip to content

Commit ee7e329

Browse files
authored
Merge pull request #443 from r-dbi/fix-warning
2 parents 3b99e0f + 220a43b commit ee7e329

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/pch.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,10 @@
22
#include <libpq-fe.h>
33

44
#include <plogr.h>
5+
6+
// Temporary fix for false positive in gcc-12 (fixed in gcc-13)
7+
#if __GNUC__ == 12
8+
/*IGNORE*/ #pragma GCC diagnostic push
9+
/*IGNORE*/ #pragma GCC diagnostic ignored "-Wuse-after-free"
10+
#endif
11+

0 commit comments

Comments
 (0)