On 11/01/2013 6:41 AM, Angelo Graziosi wrote:
Yaakov wrote:
Forking an entire compiler within a
source package just for building that package?
I think ROOT guys have good reasons to have a patched version of CLANG
if the new ROOT C++ interpreter they implement is called "cling"...
You can
Yaakov wrote:
Forking an entire compiler within a
source package just for building that package?
I think ROOT guys have good reasons to have a patched version of CLANG
if the new ROOT C++ interpreter they implement is called "cling"...
You can read more here: http://root.cern.ch/drupal/cont
On Thu, 10 Jan 2013 17:20:25 +0100, Angelo Graziosi wrote:
> Trying to compile a C++ source file including windows.h header with
> clang++, fails with
>
>#error Must define a target architecture
Thanks for the report. Clang defines _X86_ only for MinGW targets, not
taking into account that
Zeeman wrote:
I have hit this too with log4cplus. This is my workaround:
// Work around missing _X86_ symbol with Clang on Cygwin.
#if ! defined (_X86_) && defined (__i386__)
# define _X86_ 1
#endif
#include
Yes, also
clang++ -D_X86_=1 -c foo.cxx -o foo.o
works...
Anyway, perhaps this is
On 01/10/2013 05:20 PM, Angelo Graziosi wrote:
> Trying to compile a C++ source file including windows.h header with
> clang++, fails with
>
> #error Must define a target architecture
I have hit this too with log4cplus. This is my workaround:
// Work around missing _X86_ symbol with Clang on Cy
Trying to compile a C++ source file including windows.h header with
clang++, fails with
#error Must define a target architecture
For example,
$ cat foo.cxx
#include
int main()
{
return 0;
}
$ clang++ -c foo.cxx -o foo.o
In file included from foo.cxx:1:
In file included from /usr/includ
6 matches
Mail list logo