On Wed, Oct 04, 2017 at 08:14:31PM +0200, Stephan Witt wrote:
> Am 04.10.2017 um 20:09 schrieb Enrico Forestieri <for...@lyx.org>:
> > 
> > On Wed, Oct 04, 2017 at 07:45:25PM +0200, Enrico Forestieri wrote:
> >> On Tue, Oct 03, 2017 at 10:19:52PM +0200, Jean-Marc Lasgouttes wrote:
> >>> I get:
> >>> 
> >>> ../../stable/src/Paragraph.cpp: In member function ‘void
> >>> lyx::Paragraph::latex(const lyx::BufferParams&, const lyx::Font&,
> >>> lyx::otexstream&, const lyx::OutputParams&, int, int, bool) const’:
> >>> ../../stable/src/Paragraph.cpp:2378: error: thread-local storage not
> >>> supported for this target
> >>> 
> >>> 
> >>> It seems that the nice ifdef that try to define thread-local types are not
> >>> correct for this old os version.
> >> 
> >> I would be surprised if this is true. The code would be miscompiled in
> >> several other places, then.
> >> 
> >> The other possibility is that the error is real, while the info at
> >> http://forum.dlang.org/post/mailman.3439.1452269142.22025.digitalmars-d-b...@puremagic.com
> >> is wrong.
> > 
> > Sorry. I didn't notice that you were talking about 2.2.x. Yes, you are
> > probably right.
> > 
> > Richard, is the attached patch Ok?
> > 
> > -- 
> > Enrico
> > <x.diff>
> 
> Are you sure? On my systems with Mac OS 10.11.6 and 10.8.6 it works.
> I’d like to test it first in case you’re not sure it works on all Macs.

No, I cannot test on Mac. However, JMarc says it fails on 10.7.
I think the patch is safe because it explicitly catches any OSX version.

-- 
Enrico

Reply via email to