I added it to the CMakeLists.txt file:

# Set default C flags.
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-strict-overflow -fno-common")

Compiled without errors or warnings on GCC 7.4.0

No change.



On Sun, Feb 16, 2020 at 10:48 AM Albert Cahalan <[email protected]> wrote:

> > Maybe just add -fcommon to the Makefile
>
> No, add -fno-common to the Makefile, ensuring that people with older
> versions will get the same errors.
>
> It's a saner and safer default, and is more compatible with Win32.
>
>
> _______________________________________________
> Freetel-codec2 mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2
>
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to