Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 548468
Collapse All | Expand All

(-)libssh-0.6.4.org/cmake/Modules/DefineCompilerFlags.cmake (-1 / +1 lines)
Lines 10-16 Link Here
10
    if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
10
    if (${CMAKE_C_COMPILER_ID} MATCHES "(GNU|Clang)")
11
11
12
        # add -Wconversion ?
12
        # add -Wconversion ?
13
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -pedantic -pedantic-errors")
13
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99")
14
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement")
14
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement")
15
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security")
15
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security")
16
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-format-attribute")
16
        set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wmissing-format-attribute")

Return to bug 548468