Skip to content

compile under fedora 40 #28

@cheese1

Description

@cheese1
config.status: include/gfx/config.h is unchanged
+ make -j2
make -C libgfx/src
make[1]: Entering directory '/builddir/build/BUILD/fireflies-2.08/libgfx/src'
g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -I/builddir/build/BUILD/fireflies-2.08/libgfx/include -DHAVE_CONFIG_H  mat2.cxx
g++ -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -I/builddir/build/BUILD/fireflies-2.08/libgfx/include -DHAVE_CONFIG_H  mat3.cxx
In file included from mat2.cxx:9:
/builddir/build/BUILD/fireflies-2.08/libgfx/include/gfx/gfx.h:33:13: error: redeclaration of C++ built-in type ‘bool’ [-fpermissive]
   33 | typedef int bool;
      |             ^~~~
/builddir/build/BUILD/fireflies-2.08/libgfx/include/gfx/gfx.h:34:12: error: expected unqualified-id before ‘false’
   34 | const bool false = 0;
      |            ^~~~~
/builddir/build/BUILD/fireflies-2.08/libgfx/include/gfx/gfx.h:35:12: error: expected unqualified-id before ‘true’
   35 | const bool true = 1;
      |            ^~~~
In file included from mat3.cxx:9:
/builddir/build/BUILD/fireflies-2.08/libgfx/include/gfx/gfx.h:33:13: error: redeclaration of C++ built-in type ‘bool’ [-fpermissive]
   33 | typedef int bool;
      |             ^~~~
/builddir/build/BUILD/fireflies-2.08/libgfx/include/gfx/gfx.h:34:12: error: expected unqualified-id before ‘false’
   34 | const bool false = 0;
      |            ^~~~~
/builddir/build/BUILD/fireflies-2.08/libgfx/include/gfx/gfx.h:35:12: error: expected unqualified-id before ‘true’
   35 | const bool true = 1;
      |            ^~~~
make[1]: *** [../gfx-config:32: mat2.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/builddir/build/BUILD/fireflies-2.08/libgfx/src'
make[1]: *** [../gfx-config:32: mat3.o] Error 1
make: *** [Makefile:32: libgfx/src/libgfx.a] Error 2

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