[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] XCode 4
From: |
Martin Costabel |
Subject: |
Re: [Texmacs-dev] XCode 4 |
Date: |
Wed, 04 Apr 2012 00:08:18 +0200 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:11.0) Gecko/20120327 Thunderbird/11.0.1 |
On 3/04/12 23:10, Miguel de Benito Delgado wrote:
[]
- Change compiler to GCC 4.2. Why: LLVM 3.1 complains about arrays of
non-POD objects.
You mean llvm-gcc-4.2. Plain old gcc-4.2 has disappeared now from MacOSX
10.7. The one that complains is clang (based on llvm-3.1svn). There is
an easy fix for the code to make it sufficiently standard-compliant so
that it is accepted by clang:
Change in src/Kernel/Abstractions/basic.hpp line 51 from
#if (defined OS_WIN32 || defined __SUNPRO_CC)
to
#if (defined OS_WIN32 || defined __SUNPRO_CC || defined __clang__)
In this way it keeps the previous code for the older more tolerant
compilers.
--
Martin
- [Texmacs-dev] XCode 4, Miguel de Benito Delgado, 2012/04/03
- Re: [Texmacs-dev] XCode 4,
Martin Costabel <=