Skip to content

compilation errors with gcc 8.3 #1

Open
@streaps

Description

I tried to compile Maximus (v3_03b) on a Raspberry Pi running Raspian / Debian 10 Buster and gcc 8.3. As expected there were a few compilation errors. As I'm not a C(++) programmer I used Google and trial and error to get it compile without errors, but I have no idea what are the corrtect changes to fix these errors. My first goal was to figure out if it compiles at all. It looks like minor problems which should be easily fixable (by someone with a little bit more C(++) experience than me).

btree/dbase.cc:32:10: fatal error: new.h: No such file or directory
 #include <new.h>
          ^~~~~~~

changed <new.h> to <new>

slib/progprot.h:56:11: error: expected unqualified-id before ‘nullptr’
 int _fast nullptr(void);
           ^~~~~~~

renamed nullptr to slib_nullpointer

sqafix/sqauti.c:1775:8: error: wrong type argument to unary exclamation mark
    if (!argptr) va_start(argptr, pszFormat);
        ^

removed if (!argptr)

mex/mex_tab.y:516.48-49: error: $$ for the midrule at $2 of ‘else_part’ has no declared type
                                 { ElseHandler(&$$); }
                                                ^~

changed &$$ to &$<elsetype>$

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