Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
marxin opened this issue Sep 6, 2022 · 0 comments
Open

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

marxin opened this issue Sep 6, 2022 · 0 comments

Comments

@marxin
Copy link

marxin commented Sep 6, 2022

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",
                                                                                                      ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant