Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • L libopenraw
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • libopenraw
  • libopenraw
  • Issues
  • #12
Closed
Open
Issue created Feb 18, 2023 by Tomasz Kłoczko@kloczek👍

0.3.4: libopenraw is not ready for gcc 13

[tkloczko@pers-jacek libopenraw-0.3.4]$ make V=1 -k
make  all-recursive
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libopenraw-0.3.4'
Making all in lib
make[2]: Entering directory '/home/tkloczko/rpmbuild/BUILD/libopenraw-0.3.4/lib'
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I..  -I../include    -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c -o orfcontainer.lo orfcontainer.cpp
libtool: compile:  /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c orfcontainer.cpp  -fPIC -DPIC -o .libs/orfcontainer.o
In file included from orfcontainer.cpp:23:
trace.hpp:66:35: error: 'uint8_t' does not name a type
   66 | std::string bytes_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:26:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   25 | #include <algorithm>
  +++ |+#include <cstdint>
   26 |
trace.hpp:68:35: error: 'uint8_t' does not name a type
   68 | std::string ascii_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:68:35: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
cc1plus: note: unrecognized command-line option '-Wno-gnu-zero-variadic-macro-arguments' may have been intended to silence earlier diagnostics
make[2]: *** [Makefile:1103: orfcontainer.lo] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I..  -I../include    -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c -o rw2container.lo rw2container.cpp
libtool: compile:  /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c rw2container.cpp  -fPIC -DPIC -o .libs/rw2container.o
In file included from rw2container.cpp:23:
trace.hpp:66:35: error: 'uint8_t' does not name a type
   66 | std::string bytes_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:26:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   25 | #include <algorithm>
  +++ |+#include <cstdint>
   26 |
trace.hpp:68:35: error: 'uint8_t' does not name a type
   68 | std::string ascii_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:68:35: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
cc1plus: note: unrecognized command-line option '-Wno-gnu-zero-variadic-macro-arguments' may have been intended to silence earlier diagnostics
make[2]: *** [Makefile:1103: rw2container.lo] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I..  -I../include    -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c -o mrwcontainer.lo mrwcontainer.cpp
libtool: compile:  /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c mrwcontainer.cpp  -fPIC -DPIC -o .libs/mrwcontainer.o
In file included from mrwcontainer.cpp:27:
trace.hpp:66:35: error: 'uint8_t' does not name a type
   66 | std::string bytes_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:26:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   25 | #include <algorithm>
  +++ |+#include <cstdint>
   26 |
trace.hpp:68:35: error: 'uint8_t' does not name a type
   68 | std::string ascii_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:68:35: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
cc1plus: note: unrecognized command-line option '-Wno-gnu-zero-variadic-macro-arguments' may have been intended to silence earlier diagnostics
make[2]: *** [Makefile:1103: mrwcontainer.lo] Error 1
/bin/sh ../libtool  --tag=CXX   --mode=compile /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I..  -I../include    -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c -o metadata.lo metadata.cpp
libtool: compile:  /usr/bin/g++ -std=c++14 -DHAVE_CONFIG_H -I. -I.. -I../include -O2 -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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fdata-sections -ffunction-sections -flto=auto -flto-partition=none -Os -fvisibility=hidden -Wchar-subscripts -Wcast-align -Wextra -Wexceptions -Wformat -Wformat-nonliteral -Wformat-security -Wno-gnu-zero-variadic-macro-arguments -Wlogical-not-parentheses -Wmisleading-indentation -Wmissing-noreturn -Woverloaded-virtual -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wno-suggest-attribute=noreturn -Wsuggest-override -Wunreachable-code -Wunused -Wwrite-strings -c metadata.cpp  -fPIC -DPIC -o .libs/metadata.o
In file included from metadata.cpp:21:
trace.hpp:66:35: error: 'uint8_t' does not name a type
   66 | std::string bytes_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:28:1: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   27 | #include <libopenraw/debug.h>
  +++ |+#include <cstdint>
   28 |
trace.hpp:68:35: error: 'uint8_t' does not name a type
   68 | std::string ascii_to_string(const uint8_t* bytes, size_t len);
      |                                   ^~~~~~~
trace.hpp:68:35: note: 'uint8_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
cc1plus: note: unrecognized command-line option '-Wno-gnu-zero-variadic-macro-arguments' may have been intended to silence earlier diagnostics
make[2]: *** [Makefile:1103: metadata.lo] Error 1
make[2]: Target 'all' not remade because of errors.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking