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

Fix warnings and errors (from some platforms / compilers) for C++ #3

Merged
merged 4 commits into from Jun 13, 2013

Conversation

kskalski
Copy link
Contributor

Switch compilation C++ standard to gnu++0x, required for strdup on cygwin.
Fix const char* conversions.
Add space before PRIxxx constants to fix compilation on gcc 4.7 (not tested on actual gcc 4.7 but should reduce number of errors significantly)
Convert unsigned long long int to uint64_t in mfs_fuse.cc and use proper PRIu64 format for printf (fixes warnings)
Remove some unused vars, shadowed struct and sanitize printf format strings.
Printf format fixes for C++ ISO.
Type definition fix for array inialization.

blink69 added a commit that referenced this pull request Jun 13, 2013
Fix warnings and errors (from some platforms / compilers) for C++
@blink69 blink69 merged commit ea2b380 into lizardfs:master Jun 13, 2013
@psarna psarna mentioned this pull request Sep 21, 2017
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

Successfully merging this pull request may close these issues.

None yet

2 participants