phoronix-test-suite / test-profiles

A read-only Git copy of the OpenBenchmarking.org test profiles.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pts/compress-pbzip2-1.6.0 fails to build with Clang

marxin opened this issue · comments

Fails with CC=clang CXX=clang++ due to:

clang++ -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DUSE_STACKSIZE_CUSTOMIZATION -pthread -D_POSIX_PTHREAD_SEMANTICS  pbzip2.cpp BZ2StreamScanner.cpp ErrorContext.cpp libbz2.a -o pbzip2 -I. -L. -lbz2 -lpthread
pbzip2.cpp:1223:75: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal]
                                fprintf(stderr, "pbzip2:  *WARNING: Compressed block size is large [%"PRIuMAX" bytes].\n",
                                                                                                      ^