Regex: move boost headers to top of list to work around clang issue which requires workarounds present in config.hpp.

This commit is contained in:
jzmaddock
2017-09-21 17:15:51 +01:00
parent 09894a5e21
commit 289ce86488
26 changed files with 33 additions and 31 deletions

View File

@ -20,11 +20,11 @@
#define UNICODE
#define _UNICODE
#include <boost/regex.h>
#include <stdio.h>
#include <string.h>
#include <assert.h>
#include <stdlib.h>
#include <boost/regex.h>
#ifndef BOOST_NO_WREGEX
#include <wchar.h>

View File

@ -16,10 +16,10 @@
* DESCRIPTION: Test for indefinite recursion and/or stack overrun.
*/
#include <string>
#include <boost/regex.hpp>
#include <boost/detail/lightweight_main.hpp>
#include "../test_macros.hpp"
#include <string>
#ifdef BOOST_INTEL
#pragma warning(disable:1418 981 983 383)

View File

@ -16,10 +16,10 @@
* DESCRIPTION: Test for indefinite recursion and/or stack overrun.
*/
#include <string>
#include <boost/regex.hpp>
#include <boost/detail/lightweight_main.hpp>
#include "../test_macros.hpp"
#include <string>
#ifdef BOOST_INTEL
#pragma warning(disable:1418 981 983 383)

View File

@ -16,11 +16,11 @@
* DESCRIPTION: test program for boost::static_mutex.
*/
#include <iostream>
#include <iomanip>
#include <boost/regex/pending/static_mutex.hpp>
#include <boost/thread/thread.hpp>
#include <boost/timer.hpp>
#include <iostream>
#include <iomanip>
//
// we cannot use the regular Boost.Test in here: it is not thread safe