Skip to content

Compilation with GCC 10 and 11 #8

@V-Z

Description

@V-Z

Hello, I'm packaging yaha for openSUSE and co compile it with GCC 10 and 11 I must edit the Makefile like:

--- Makefile.orig	2021-06-08 16:05:54.872996001 +0200
+++ Makefile	2021-06-08 16:11:30.950047713 +0200
@@ -25,7 +25,7 @@
 CC	 := gcc
 CPP      := g++
 CFLAGS	 := $(CCFLAGS) -std=gnu99
-CPPFLAGS := $(CCFLAGS)
+CPPFLAGS := $(CCFLAGS) -fpermissive
 LDFLAGS  := -pthread
 
 # The list of object files.

It works, but of course, upstream fix would be better. :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions