gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Woe with doSetUnset


From: Gaius Mulley
Subject: Re: Woe with doSetUnset
Date: Sat, 2 Jul 2022 12:27:41 +0100

Hi John,

I wonder if removing the EXTERN from the prototype doSetUnset and implementation of doSetUnset might solve the problem?

regards,
Gaius

On Sat, Jul 2, 2022 at 12:25 PM Gaius Mulley <mulley.gaius@gmail.com> wrote:
Hi John,

I wonder if removing the EXTERN from the prototype doSetUnset and implementation of doSetUnset might solve the problem?

regards,
Gaius


On Fri, Jul 1, 2022 at 10:31 PM john o goyo <jog37@riddermarkfarm.ca> wrote:
Gaius:

I will not be setting up my Sparc box for another few weeks, so I am
concentrating on mc.  To obtain the required header files, I am building
a cross-compiler on my M1 Mini for aarch64-unknown-freebsd10.1 and
encountering a strange error.

/usr/bin/g++ -std=gnu++11 -DHAVE_CONFIG_H -g -c -I. -Im2/gm2-libs
-I../../../src/gcc-git-devel-modula2/gcc/../include
-I../../../src/gcc-git-devel-modula2/gcc -I. -Im2/mc-boot-ch
-I../../../src/gcc-git-devel-modula2/gcc
-I../../../src/gcc-git-devel-modula2/gcc/m2/mc-boot-ch
-I../../../src/gcc-git-devel-modula2/gcc/../include
-I../../../src/gcc-git-devel-modula2/gcc/../libcpp/include
-I../../../src/gcc-git-devel-modula2/gcc/../libcody -I/usr/local/include
-I/usr/local/include -I/usr/local/include
-I../../../src/gcc-git-devel-modula2/gcc/../libdecnumber
-I../../../src/gcc-git-devel-modula2/gcc/../libdecnumber/bid
-I../libdecnumber
-I../../../src/gcc-git-devel-modula2/gcc/../libbacktrace -Im2/gm2-libs
../../../src/gcc-git-devel-modula2/gcc/m2/mc-boot-ch/Gtermios.c -o
m2/mc-boot-ch/Gtermios.o
clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated [-Wdeprecated]
../../../src/gcc-git-devel-modula2/gcc/m2/mc-boot-ch/Gtermios.c:1103:14:
error: no matching function for call to 'doSetUnset'
       return doSetUnset (&t->c_iflag, IGNBRK, b);

But doSetUnset is defined at ll. 394+ in the same file Gtermios.c.

I am somewhat stumped by this one.

john



reply via email to

[Prev in Thread] Current Thread [Next in Thread]