mirror of
https://github.com/apache/httpd.git
synced 2025-08-13 14:40:20 +00:00
On the trunk:
Fix for maintainer-mode compiler errors when including check.h in unit tests. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1809633 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -15,8 +15,16 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "apr.h" /* for pid_t on Windows, needed by Check */
|
#include "apr.h" /* for pid_t on Windows, needed by Check */
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wstrict-prototypes"
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
#include "apr_general.h"
|
#include "apr_general.h"
|
||||||
|
|
||||||
static Suite *main_test_suite(void)
|
static Suite *main_test_suite(void)
|
||||||
|
@ -34,8 +34,17 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "apr.h" /* for pid_t on Windows, needed by Check */
|
#include "apr.h" /* for pid_t on Windows, needed by Check */
|
||||||
|
|
||||||
|
#pragma GCC diagnostic push
|
||||||
|
#pragma GCC diagnostic ignored "-Wstrict-prototypes"
|
||||||
|
#pragma clang diagnostic push
|
||||||
|
#pragma clang diagnostic ignored "-Wstrict-prototypes"
|
||||||
|
|
||||||
#include "check.h"
|
#include "check.h"
|
||||||
|
|
||||||
|
#pragma clang diagnostic pop
|
||||||
|
#pragma GCC diagnostic pop
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Boilerplate Macros
|
* Boilerplate Macros
|
||||||
*/
|
*/
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "check.h"
|
|
||||||
#include "../httpdunit.h"
|
#include "../httpdunit.h"
|
||||||
|
|
||||||
#include "httpd.h"
|
#include "httpd.h"
|
||||||
|
@ -14,7 +14,6 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "check.h"
|
|
||||||
#include "../httpdunit.h"
|
#include "../httpdunit.h"
|
||||||
|
|
||||||
#include "httpd.h"
|
#include "httpd.h"
|
||||||
|
Reference in New Issue
Block a user