We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b2cba3f commit 5e10d06Copy full SHA for 5e10d06
CMakeLists.txt
@@ -1,7 +1,7 @@
1
cmake_minimum_required(VERSION 2.8.5)
2
3
project(scas C)
4
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -std=c99 -D_XOPEN_SOURCE=500")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -pedantic -std=c99 -D_XOPEN_SOURCE=700")
5
set(CMAKE_C_FLAGS_DEVEL "-Werror -g -Og")
6
7
if(WIN32)
scas/flags.c
@@ -1,4 +1,3 @@
-#define _XOPEN_SOURCE
#include "flags.h"
#include <stdio.h>
#include <string.h>
0 commit comments