Skip to content

Compile fail on Fedora 40 #1

@thelabcat

Description

@thelabcat

Having installed glibc-devel.i686 and libstdc++-devel.i686 as they were respectively an equivalent and a close match to the stated dependencies, I ran make in stampbc_2.1 and got the following error:

g++ -g -Wall -D_COLORFUL -m32 -c stampbc.cc
In file included from SBCompiler.h:12,
                 from SBProject.h:15,
                 from stampbc.cc:21:
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:19:5: note: in expansion of macro ‘bool’
   19 |     bool        Succeded;
      |     ^~~~
In file included from /usr/include/c++/14/bits/memory_resource.h:38,
                 from /usr/include/c++/14/string:68,
                 from stampbc.cc:11:
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:21:5: note: in expansion of macro ‘bool’
   21 |     bool        DebugFlag;
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
In file included from SBCompiler.h:13:
SBTokenizer.h:22:5: error: reference to ‘byte’ is ambiguous
   22 |     byte        TargetModule;
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:33:5: error: reference to ‘byte’ is ambiguous
   33 |     byte        EEPROM[2048];
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:34:5: error: reference to ‘byte’ is ambiguous
   34 |     byte        EEPROMFlags[2048];
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:35:5: error: reference to ‘byte’ is ambiguous
   35 |     byte        VarCounts[4];
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:36:5: error: reference to ‘byte’ is ambiguous
   36 |     byte        PacketCount;
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:37:5: error: reference to ‘byte’ is ambiguous
   37 |     byte        PacketBuffer[PACKET_BUFFER_SZ];
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:48:3: note: in expansion of macro ‘bool’
   48 |   bool TestRecAlignment(TModuleRec *Rec);
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:49:3: note: in expansion of macro ‘bool’
   49 |   bool Compile(TModuleRec *Rec,
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:55:3: error: reference to ‘byte’ is ambiguous
   55 |   byte Version();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:61:3: note: in expansion of macro ‘bool’
   61 |   bool init();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:66:3: note: in expansion of macro ‘bool’
   66 |   bool m_inited;
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:69:9: error: expected identifier before ‘*’ token
   69 |   bool (*m_TestRecAlignment)(TModuleRec *Rec);
      |         ^
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:69:3: note: in expansion of macro ‘bool’
   69 |   bool (*m_TestRecAlignment)(TModuleRec *Rec);
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ISO C++ forbids declaration of ‘byte’ with no type [-fpermissive]
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:69:3: note: in expansion of macro ‘bool’
   69 |   bool (*m_TestRecAlignment)(TModuleRec *Rec);
      |   ^~~~
SBTokenizer.h:69:45: error: ‘byte’ declared as function returning a function
   69 |   bool (*m_TestRecAlignment)(TModuleRec *Rec);
      |                                             ^
SBTokenizer.h:70:9: error: expected identifier before ‘*’ token
   70 |   bool (*m_Compile)(
      |         ^
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:73:5: note: in expansion of macro ‘bool’
   73 |     bool DirectivesOnly,
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:73:5: note: in expansion of macro ‘bool’
   73 |     bool DirectivesOnly,
      |     ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:74:5: note: in expansion of macro ‘bool’
   74 |     bool ParseStampDirective,
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:74:5: note: in expansion of macro ‘bool’
   74 |     bool ParseStampDirective,
      |     ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:70:3: note: in expansion of macro ‘bool’
   70 |   bool (*m_Compile)(
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ISO C++ forbids declaration of ‘byte’ with no type [-fpermissive]
   35 | #define bool byte
      |              ^~~~
SBTokenizer.h:70:3: note: in expansion of macro ‘bool’
   70 |   bool (*m_Compile)(
      |   ^~~~
SBTokenizer.h:76:3: error: ‘byte’ declared as function returning a function
   76 |   );
      |   ^
SBTokenizer.h:79:9: error: expected identifier before ‘*’ token
   79 |   byte (*m_Version)();
      |         ^
SBTokenizer.h:79:3: error: reference to ‘byte’ is ambiguous
   79 |   byte (*m_Version)();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBTokenizer.h:79:3: error: ISO C++ forbids declaration of ‘byte’ with no type [-fpermissive]
   79 |   byte (*m_Version)();
      |   ^~~~
SBTokenizer.h:79:21: error: ‘byte’ declared as function returning a function
   79 |   byte (*m_Version)();
      |                     ^
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBCompiler.h:23:3: note: in expansion of macro ‘bool’
   23 |   bool testRecAlignment();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBCompiler.h:25:3: note: in expansion of macro ‘bool’
   25 |   bool compile(
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBCompiler.h:34:13: note: in expansion of macro ‘bool’
   34 |   void dump(bool bMap);
      |             ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBCompiler.h:34:13: note: in expansion of macro ‘bool’
   34 |   void dump(bool bMap);
      |             ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBCompiler.h:36:17: note: in expansion of macro ‘bool’
   36 |   void setDebug(bool b);
      |                 ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBCompiler.h:36:17: note: in expansion of macro ‘bool’
   36 |   void setDebug(bool b);
      |                 ^~~~
SBCompiler.h:52:46: error: reference to ‘byte’ is ambiguous
   52 |   int writeObjectFile(const string& objFile, byte* pckBuffer, int pckCount);
      |                                              ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
SBCompiler.h:52:46: error: ‘byte’ has not been declared
   52 |   int writeObjectFile(const string& objFile, byte* pckBuffer, int pckCount);
      |                                              ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBCompiler.h:66:3: note: in expansion of macro ‘bool’
   66 |   bool                     m_dbg;
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:29:17: note: in expansion of macro ‘bool’
   29 |   void setDebug(bool dbg);
      |                 ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBLoader.h:29:17: note: in expansion of macro ‘bool’
   29 |   void setDebug(bool dbg);
      |                 ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:34:3: note: in expansion of macro ‘bool’
   34 |   bool identify(string& sType, string& sVersion, int& index);
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:35:3: note: in expansion of macro ‘bool’
   35 |   bool download(const string objFile, string& sType, int slot);
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:42:17: note: in expansion of macro ‘bool’
   42 |   void resetDev(bool brkcond = false);
      |                 ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBLoader.h:42:17: note: in expansion of macro ‘bool’
   42 |   void resetDev(bool brkcond = false);
      |                 ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:44:17: note: in expansion of macro ‘bool’
   44 |   void waitRecv(bool bQuiet);
      |                 ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBLoader.h:44:17: note: in expansion of macro ‘bool’
   44 |   void waitRecv(bool bQuiet);
      |                 ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:45:56: note: in expansion of macro ‘bool’
   45 |   void receive(const char* pBuffer, int n, int& nReti, bool bQuiet = false);
      |                                                        ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBLoader.h:45:56: note: in expansion of macro ‘bool’
   45 |   void receive(const char* pBuffer, int n, int& nReti, bool bQuiet = false);
      |                                                        ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:49:5: note: in expansion of macro ‘bool’
   49 |     bool isBS2);
      |     ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: ‘byte’ has not been declared
   35 | #define bool byte
      |              ^~~~
SBLoader.h:49:5: note: in expansion of macro ‘bool’
   49 |     bool isBS2);
      |     ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:53:3: note: in expansion of macro ‘bool’
   53 |   bool m_done;
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBLoader.h:55:3: note: in expansion of macro ‘bool’
   55 |   bool m_dbg;
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBProject.h:37:3: note: in expansion of macro ‘bool’
   37 |   bool   isFlags(int n);
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBProject.h:38:3: note: in expansion of macro ‘bool’
   38 |   bool   isFlagsAnd(int n);
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBProject.h:48:3: note: in expansion of macro ‘bool’
   48 |   bool process();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBProject.h:52:3: note: in expansion of macro ‘bool’
   52 |   bool identify();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBProject.h:53:3: note: in expansion of macro ‘bool’
   53 |   bool compile();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
defs.h:35:14: error: reference to ‘byte’ is ambiguous
   35 | #define bool byte
      |              ^~~~
SBProject.h:54:3: note: in expansion of macro ‘bool’
   54 |   bool download();
      |   ^~~~
/usr/include/c++/14/cstddef:70:14: note: candidates are: ‘enum class std::byte’
   70 |   enum class byte : unsigned char {};
      |              ^~~~
defs.h:32:23: note:                 ‘typedef unsigned char byte’
   32 | typedef unsigned char byte;
      |                       ^~~~
stampbc.cc: In function ‘int processOptions(int, char**, SBProject&)’:
stampbc.cc:155:14: error: ‘class SBProject’ has no member named ‘isFlagsAnd’
  155 |     if (proj.isFlagsAnd(
      |              ^~~~~~~~~~
stampbc.cc:161:14: error: ‘class SBProject’ has no member named ‘isFlags’
  161 |     if (proj.isFlags(SBProject::F_DOWNLOADONLY)) {
      |              ^~~~~~~
stampbc.cc: In function ‘int main(int, char**)’:
stampbc.cc:182:15: error: ‘class SBProject’ has no member named ‘process’
  182 |     ret = prj.process() ? 0 : -1;
      |               ^~~~~~~
make: *** [Makefile:22: stampbc.o] Error 1

No idea what any of this means. I do not program in C++.

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