bug-hurd
[Top][All Lists]
Advanced

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

fp_reg.h:62:15: error: expected constructor, destructor, or type convers


From: Jeffrey Walton
Subject: fp_reg.h:62:15: error: expected constructor, destructor, or type conversion before ‘(’ token
Date: Mon, 30 Nov 2020 23:13:36 -0500

Hi Everyone,

I'm testing Crypto++ Master on HURD. I believe HURD is fully patched.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Hurd bullseye/sid
Release:        unstable
Codename:       sid

A compile is failing due to including <signal.h>.

$ make cpu.o
g++ -DNDEBUG -g2 -O3 -pthread -pipe -c cpu.cpp
In file included from /usr/include/i386-gnu/bits/sigcontext.h:30,
                 from /usr/include/signal.h:291,
                 from cpu.cpp:62:
/usr/include/i386-gnu/mach/i386/fp_reg.h:62:15: error: expected
constructor, destructor, or type conversion before ‘(’ token
   62 | _Static_assert(sizeof(struct i386_xfp_xstate_header) == 8*8);
      |               ^
/usr/include/i386-gnu/mach/i386/fp_reg.h:85:15: error: expected
constructor, destructor, or type conversion before ‘(’ token
   85 | _Static_assert(sizeof(struct i386_xfp_save) == 512 + 8*8);
      |               ^
GNUmakefile:1705: recipe for target 'cpu.o' failed
make: *** [cpu.o] Error 1

Jeff



reply via email to

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