Browse Source

MT#55283 update to C11

Change-Id: I966a3698a66eda0ab5485eed2841b4a2044efd73
pull/1759/head
Richard Fuchs 2 years ago
parent
commit
baf339fb60
8 changed files with 8 additions and 8 deletions
  1. +1
    -1
      daemon/.ycm_extra_conf.py
  2. +1
    -1
      daemon/Makefile
  3. +1
    -1
      include/.ycm_extra_conf.py
  4. +1
    -1
      lib/.ycm_extra_conf.py
  5. +1
    -1
      recording-daemon/.ycm_extra_conf.py
  6. +1
    -1
      recording-daemon/Makefile
  7. +1
    -1
      t/.ycm_extra_conf.py
  8. +1
    -1
      t/Makefile

+ 1
- 1
daemon/.ycm_extra_conf.py View File

@ -60,7 +60,7 @@ flags = [
# a "-std=<something>".
# For a C project, you would set this to something like 'c99' instead of
# 'c++11'.
'-std=c99',
'-std=c11',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
# relevant for c++ headers.


+ 1
- 1
daemon/Makefile View File

@ -7,7 +7,7 @@ with_transcoding ?= yes
CFLAGS?= -g -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wstrict-prototypes -Werror=return-type \
-Wshadow
CFLAGS+= -pthread -fno-strict-aliasing
CFLAGS+= -std=c99
CFLAGS+= -std=c11
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)
CFLAGS+= $(shell pkg-config --cflags zlib)


+ 1
- 1
include/.ycm_extra_conf.py View File

@ -46,7 +46,7 @@ flags = [
# a "-std=<something>".
# For a C project, you would set this to something like 'c99' instead of
# 'c++11'.
'-std=c99',
'-std=c11',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
# relevant for c++ headers.


+ 1
- 1
lib/.ycm_extra_conf.py View File

@ -57,7 +57,7 @@ flags = [
# a "-std=<something>".
# For a C project, you would set this to something like 'c99' instead of
# 'c++11'.
'-std=c99',
'-std=c11',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
# relevant for c++ headers.


+ 1
- 1
recording-daemon/.ycm_extra_conf.py View File

@ -40,7 +40,7 @@ flags = [
# a "-std=<something>".
# For a C project, you would set this to something like 'c99' instead of
# 'c++11'.
'-std=c99',
'-std=c11',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
# relevant for c++ headers.


+ 1
- 1
recording-daemon/Makefile View File

@ -3,7 +3,7 @@ TARGET= rtpengine-recording
CFLAGS?= -g -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wstrict-prototypes -Werror=return-type \
-Wshadow
CFLAGS+= -pthread -I. -I../lib/ -I../kernel-module/
CFLAGS+= -std=c99 -fno-strict-aliasing
CFLAGS+= -std=c11 -fno-strict-aliasing
CFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE -D_POSIX_C_SOURCE
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)


+ 1
- 1
t/.ycm_extra_conf.py View File

@ -46,7 +46,7 @@ flags = [
# a "-std=<something>".
# For a C project, you would set this to something like 'c99' instead of
# 'c++11'.
'-std=c99',
'-std=c11',
# ...and the same thing goes for the magic -x option which specifies the
# language that the files to be compiled are written in. This is mostly
# relevant for c++ headers.


+ 1
- 1
t/Makefile View File

@ -6,7 +6,7 @@ CFLAGS?= -g -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wstrict-proto
-Wshadow
PRELOAD_CFLAGS := $(CFLAGS)
CFLAGS+= -pthread -fno-strict-aliasing
CFLAGS+= -std=c99
CFLAGS+= -std=c11
CFLAGS+= $(shell pkg-config --cflags glib-2.0)
CFLAGS+= $(shell pkg-config --cflags gthread-2.0)
CFLAGS+= $(shell pkg-config --cflags openssl)


Loading…
Cancel
Save