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

Minor build warnings should be fixed for a clean build. #28

Open
hughbarney opened this issue Oct 2, 2016 · 0 comments
Open

Minor build warnings should be fixed for a clean build. #28

hughbarney opened this issue Oct 2, 2016 · 0 comments
Labels

Comments

@hughbarney
Copy link

utf8.c: In function ‘u8_unescape’:
utf8.c:190:22: warning: ‘ch’ may be used uninitialized in this function [-Wmaybe-uninitialized]
dest[0] = (ch>>18) | 0xF0;
^
utf8.c:400:15: note: ‘ch’ was declared here
u_int32_t ch;
^
gcc -O3 -DNDEBUG -Wall -Wno-strict-aliasing -c ios.c -o ios.o
gcc -O3 -DNDEBUG -Wall -Wno-strict-aliasing -c dirpath.c -o dirpath.o
dirpath.c: In function ‘get_cwd’:
dirpath.c:33:11: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result]
getcwd(buf, size);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants