• Build error

    From Nicholas Boel@1:154/10 to All on Sunday, October 22, 2023 09:47:56
    Hello All,

    ./gecfgg.h:147:8: note: ‘struct Node’ declared here
    147 | struct Node
    | ^~~~
    gccfgg.cpp: In function ‘bool ReadGoldedCfg()’:
    gccfgg.cpp:114:27: error: ‘class CfgGed’ has no member named ‘scheckeruserdic’
    114 | MakePathname(CFG->scheckeruserdic, CFG->goldpath, CFG->scheckeruserdic);
    | ^~~~~~~~~~~~~~~
    gccfgg.cpp:114:64: error: ‘class CfgGed’ has no member named ‘scheckeruserdic’
    114 | MakePathname(CFG->scheckeruserdic, CFG->goldpath, CFG->scheckeruserdic);
    | ^~~~~~~~~~~~~~~

    ... [skip a bunch of warnings about "ISO C++ forbids converting a string constant to ‘char*’"] ...

    make[1]: *** [../GNUmakef.inc:32: ../obj/lnx/golded3/gccfgg.o] Error 1
    make[1]: Leaving directory '/home/axisd/src/golded-plus/golded3'
    make: *** [Makefile:50: all] Error 2

    I've tried 'make clean' before compiling as well.

    Also, it seems while using "BUILD=minimal" it is still building all of the other unwanted message base styles..

    building gmoezyc1.o
    building gmoezyc2.o
    building gmoezyc3.o
    building gmoezyc4.o
    building gmoezyc5.o
    [...]
    building gxsuper.o
    building gxsync.o
    [...]
    building gmopcbd1.o
    building gmopcbd2.o
    building gmopcbd3.o
    building gmopcbd4.o

    The above are just randomly copy/pasted from the compilation process, but it seems to go through all of them.

    gcc --version
    gcc (GCC) 13.2.1 20230801

    If anything else is needed, please let me know.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20230926
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Tommi Koivula@2:221/6 to Nicholas Boel on Sunday, October 22, 2023 22:04:02
    Hi Nicholas.

    22 Oct 23 09:47, you wrote to All:

    Hello All,

    I second the errors.

    However, I pulled a fresh copy and compiled just fine. See my tearline.

    ./gecfgg.h:147:8: note: ‘struct Node’ declared here
    147 | struct Node
    | ^~~~
    gccfgg.cpp: In function ‘bool ReadGoldedCfg()’:
    gccfgg.cpp:114:27: error: ‘class CfgGed’ has no member named ‘scheckeruserdic’
    114 | MakePathname(CFG->scheckeruserdic, CFG->goldpath, CFG->scheckeruserdic);
    | ^~~~~~~~~~~~~~~
    gccfgg.cpp:114:64: error: ‘class CfgGed’ has no member named ‘scheckeruserdic’
    114 | MakePathname(CFG->scheckeruserdic, CFG->goldpath, CFG->scheckeruserdic);
    | ^~~~~~~~~~~~~~~

    ... [skip a bunch of warnings about "ISO C++ forbids converting a string constant to
    ‘char*’"] ...

    make[1]: *** [../GNUmakef.inc:32: ../obj/lnx/golded3/gccfgg.o] Error 1 make[1]: Leaving directory '/home/axisd/src/golded-plus/golded3'
    make: *** [Makefile:50: all] Error 2

    I've tried 'make clean' before compiling as well.

    Also, it seems while using "BUILD=minimal" it is still building all of the other unwanted
    message base styles..

    building gmoezyc1.o
    building gmoezyc2.o
    building gmoezyc3.o
    building gmoezyc4.o
    building gmoezyc5.o
    [...]
    building gxsuper.o
    building gxsync.o
    [...]
    building gmopcbd1.o
    building gmopcbd2.o
    building gmopcbd3.o
    building gmopcbd4.o

    The above are just randomly copy/pasted from the compilation process, but it seems to go
    through all of them.

    gcc --version
    gcc (GCC) 13.2.1 20230801

    If anything else is needed, please let me know.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20230926
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)

    'Tommi

    --- GoldED+/LNX 1.1.5-b20231021
    * Origin: nntps://news.fidonet.fi (2:221/6)
  • From Nicholas Boel@1:154/10 to Tommi Koivula on Sunday, October 22, 2023 17:01:20
    Hello Tommi,

    On Sun Oct 22 2023 22:04:02, you wrote to me:

    I second the errors.

    However, I pulled a fresh copy and compiled just fine. See my
    tearline.

    $ git pull
    Already up to date.

    Looks like I already have the latest.

    Do you mean you deleted the entire thing and cloned again?

    --- GoldED+/LNX 1.1.5-b20231021

    Oooh, shiny! ;)

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20230926
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Nicholas Boel@1:154/10 to Tommi Koivula on Sunday, October 22, 2023 17:36:04
    Hello Tommi,

    On Sun Oct 22 2023 22:04:02, you wrote to me:

    I second the errors.

    However, I pulled a fresh copy and compiled just fine. See my
    tearline.

    --- GoldED+/LNX 1.1.5-b20231021

    Not sure how you did it. But after I replied to you, I moved the current directory tree out of the way, re-cloned the project and compiled fresh code, and got the exact same error. Then copied the original directory tree back in place to be able to write this message to you.

    Regards,
    Nick

    ... "Take my advice, I don't use it anyway."
    --- GoldED+/LNX 1.1.5-b20230926
    * Origin: thePharcyde_ distribution system (Wisconsin) (1:154/10)
  • From Tommi Koivula@2:221/6 to Nicholas Boel on Monday, October 23, 2023 08:08:40
    Hi Nicholas.

    22 Oct 23 17:01, you wrote to me:

    I second the errors.

    However, I pulled a fresh copy and compiled just fine. See my
    tearline.

    $ git pull
    Already up to date.

    Yes, the same here.

    Looks like I already have the latest.

    Indeed.

    Do you mean you deleted the entire thing and cloned again?

    Correct. After a new 'git clone' it compiled fine just with 'make'. Strange.

    --- GoldED+/LNX 1.1.5-b20231021

    Oooh, shiny! ;)

    ;)

    'Tommi

    --- GoldED+/LNX 1.1.5-b20231021
    * Origin: nntps://news.fidonet.fi (2:221/6)