bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] Another OSX compile bug


From: Juergen Sauermann
Subject: Re: [Bug-apl] Another OSX compile bug
Date: Tue, 21 Oct 2014 19:45:59 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.0

Hi Elias,

thanks, hopefully fixed in SVN 497.

/// Jürgen


On 10/21/2014 06:13 PM, Elias Mårtenson wrote:
Compiled with no special configure flags:

Making all in tools
depbase=`echo memory_benchmark.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
g++ -DHAVE_CONFIG_H -I. -I..     -g -O2 -MT memory_benchmark.o -MD -MP -MF $depbase.Tpo -c -o memory_benchmark.o memory_benchmark.cc &&\
mv -f $depbase.Tpo $depbase.Po
memory_benchmark.cc:136:9: error: unknown type name 'cpu_set_t'
        cpu_set_t cpus;
        ^
memory_benchmark.cc:139:54: error: use of undeclared identifier 'cpu_set_t'
        pthread_setaffinity_np(ctx[c].thread, sizeof(cpu_set_t), &cpus);
                                                     ^
memory_benchmark.cc:170:20: warning: format specifies type 'unsigned int' but the
      argument has type 'int64_t' (aka 'long long') [-Wformat]
           opname, total, (cores*(double)total)/LEN, opname, cores);
                   ^~~~~
memory_benchmark.cc:207:20: warning: format specifies type 'unsigned int' but the
      argument has type 'unsigned long long' [-Wformat]
           opname, t2 - t1, ((double)(t2 - t1))/LEN, opname);
                   ^~~~~~~
memory_benchmark.cc:213:1: error: unknown type name 'cpu_set_t'
cpu_set_t CPUs;   CPU_ZERO(&CPUs);
^
2 warnings and 3 errors generated.
make[2]: *** [memory_benchmark.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Regards,
Elias


reply via email to

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