octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #63210] Lots of warnings in compilation


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #63210] Lots of warnings in compilation
Date: Fri, 4 Nov 2022 06:13:14 -0400 (EDT)

Follow-up Comment #11, bug #63210 (project octave):

I don't think we should filter `-pthread` out for the linking step. IIUC,
Clang (or ccache?) is wrong here. See the GCC documentation for this flag
(which is the reference also for Clang iiuc):
https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#Link-Options
> -pthread
> Link with the POSIX threads library. This option is supported on GNU/Linux
targets, most other Unix derivatives, and also on x86 Cygwin and MinGW
targets. On some targets this option also sets flags for the preprocessor, so
it should be used consistently for both compilation and linking.




    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63210>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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