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

Compilation issues #1

Open
dcblack opened this issue Apr 10, 2014 · 1 comment
Open

Compilation issues #1

dcblack opened this issue Apr 10, 2014 · 1 comment

Comments

@dcblack
Copy link

dcblack commented Apr 10, 2014

I am beginning to review your contribution to the Accellera forum, and I applaud you for doing so. In compiling under Clang/LLVM some errors came up:
% make CXX=clang++ SHOW_CMD_LINE= Compiling vcd_header.cpp clang++ -MD -O3 -Wall -march=nocona -fomit-frame-pointer -c vcd_header.cpp -o .vcd_header.o vcd_header.cpp:43:13: warning: unused function 'get_line' [-Wunused-function] string_view get_line(const string_view &str, size_t offset){ ^ vcd_header.cpp:51:13: warning: unused function 'skip_begging_blank' [-Wunused-function] string_view skip_begging_blank(const string_view &s){ ^ 2 warnings generated. Compiling mmap_manager.cpp clang++ -MD -O3 -Wall -march=nocona -fomit-frame-pointer -c mmap_manager.cpp -o .mmap_manager.o mmap_manager.cpp:45:25: error: use of undeclared identifier 'O_LARGEFILE' fd = open(filename, O_LARGEFILE | O_SYNC | (is_writable ? O_RDWR : O_RDONLY)); ^ 1 error generated. Makefile:49: recipe for target '.mmap_manager.o' failed

@yTakatsukasa
Copy link
Owner

Hi David,
Thank you for sparing your time for reviewing.

I could not reproduce the error with clang-3.4. But I think the latest version should be compiled on your environment and hope it still capable of >2GB VCD on 32bit OS.

Regards,
Yutetsu.

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

2 participants