Date: Tue, 30 Nov 2021 10:07:55 +0000 From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 260136] /usr/include/omp.h fails to compile with -ansi flag: error: unknown type name 'inline' Message-ID: <bug-260136-99@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260136 Bug ID: 260136 Summary: /usr/include/omp.h fails to compile with -ansi flag: error: unknown type name 'inline' Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: standards Assignee: standards@FreeBSD.org Reporter: yuri@freebsd.org Testcase: port math/csdp version 6.2.0 Log: http://beefy18.nyi.freebsd.org/data/main-amd64-default/pd99f40d544e4_sc3134= a6af0/logs/coin-or-csdp-6.2.0.log > cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fopenmp -an= si -Wall -DBIT64 -DUSEOPENMP -DSETNUMTHREADS -DUSESIGTERM -DUSEGETTIME -I..= /include -c -o op_o.o op_o.c > In file included from op_o.c:15: > /usr/include/omp.h:485:12: error: unknown type name 'inline' > static inline int omp_is_initial_device(void) { return 1; } > ^ > 1 error generated. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-260136-99>