You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. unzip
2. ./configure
3. make
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
ubuntu 10.04 x64
Please provide any additional information below.
--------------------------
lsyncd.c: In function ‘reset_options’:
lsyncd.c:966: warning: comparison with string literal results in unspecified
behavior
lsyncd.c:972: warning: comparison with string literal results in unspecified
behavior
lsyncd.c: In function ‘one_main’:
lsyncd.c:3049: warning: format ‘%d’ expects type ‘int’, but argument 4
has type ‘size_t’
--------------------------
Original issue reported on code.google.com by quazardous on 12 Oct 2010 at 7:03
The text was updated successfully, but these errors were encountered:
I think its safe to say, while this lateral comparisons are a common error, in
this case it behaves like expected. It checks if its either the default lateral
(same pointer!) or has been changed and memalloced. I can change the code
nevertheless to be warning free.
Original comment by axk...@gmail.com on 12 Oct 2010 at 7:23
fixed it in the svn. I personally didnt get any warnings with -Wall "gcc
version 4.1.2 20061115", but I changed it nevertheless. Altough the code should
now be warning free its unfortunally a little less optimal. oh well :)
Original comment by axk...@gmail.com on 12 Oct 2010 at 12:27
Original issue reported on code.google.com by
quazardous
on 12 Oct 2010 at 7:03The text was updated successfully, but these errors were encountered: