[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Woe with doSetUnset
From: |
john o goyo |
Subject: |
Woe with doSetUnset |
Date: |
Fri, 1 Jul 2022 17:31:08 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 |
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
- Woe with doSetUnset,
john o goyo <=