libpqxx
The C++ client library for PostgreSQL
header-post.hxx
Go to the documentation of this file.
1 // NOLINT(llvm-header-guard)
2 /* Compiler deficiency workarounds for compiling libpqxx headers.
3  *
4  * To be included at the end of each libpqxx header, in order to restore the
5  * client program's settings.
6  *
7  * Copyright (c) 2000-2026, Jeroen T. Vermeulen.
8  *
9  * See COPYING for copyright license. If you did not receive a file called
10  * COPYING with this source code, please notify the distributor of this
11  * mistake, or contact the author.
12  */
13 // NO GUARDS HERE! This code should be included every time!
14 
15 #if defined(_MSC_VER)
16 # pragma warning(pop) // Restore compiler's warning state
17 #endif
18 
19 #if !defined(PQXX_HEADER_PRE)
20 # error "Include pqxx/internal/header-post.hxx AFTER its 'pre' counterpart."
21 #endif
22 
23 #undef PQXX_HEADER_PRE