*/
#ifndef DNSPACKET_HH
-#if __GNUC__ == 2
-#if __GNUC_MINOR__ < 95
- #error Your compiler is too old! Try g++ 3.3 or higher
-#else
- #warning There are known problems with PowerDNS binaries compiled by gcc version 2.95 and 2.96!
-#endif
-#endif
-
#define DNSPACKET_HH
#include <cstdio>
signal(SIGILL,tbhandler);
#endif
-#if __GNUC__ >= 3
std::ios_base::sync_with_stdio(false);
-#endif
L.toConsole(Logger::Warning);
try {
string reason; //! Print this to tell the user what went wrong
};
-#if (__GNUC__ == 4 && __GNUC_MINOR__ == 2)
-typedef boost::circular_buffer<SComboAddress> addrringbuf_t;
-#else
typedef boost::circular_buffer<ComboAddress> addrringbuf_t;
-#endif
extern thread_local std::unique_ptr<addrringbuf_t> t_servfailremotes, t_largeanswerremotes, t_remotes;
extern thread_local std::unique_ptr<boost::circular_buffer<pair<DNSName,uint16_t> > > t_queryring, t_servfailqueryring;
#define BOOST_TEST_NO_MAIN
// Disable this code for gcc 4.8 and lower
-#if (__GNUC__ > 4) || (__GNUC__ == 4 && __GNUC_MINOR__ > 8) || !__GNUC__
+#if (__GNUC__ == 4 && __GNUC_MINOR__ > 8) || !__GNUC__
#ifdef HAVE_CONFIG_H
#include "config.h"
vector<string> lines;
reportAllTypes();
-#if __GNUC__ >= 3
std::ios_base::sync_with_stdio(false);
-#endif
::arg().setSwitch("verbose","Verbose comments on operation")="no";
::arg().setSwitch("on-error-resume-next","Continue after errors")="no";
try
{
-#if __GNUC__ >= 3
std::ios_base::sync_with_stdio( false );
-#endif
reportAllTypes();
args.setCmd( "help", "Provide a helpful message" );
args.setCmd( "version", "Print the version" );
try
{
reportAllTypes();
-#if __GNUC__ >= 3
std::ios_base::sync_with_stdio(false);
-#endif
-
+
::arg().setSwitch("gpgsql","Output in format suitable for default gpgsqlbackend")="no";
::arg().setSwitch("gmysql","Output in format suitable for default gmysqlbackend")="no";
::arg().setSwitch("mydns","Output in format suitable for default mydnsbackend")="no";