-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
warnings when compiling 1.3.0 #1001
Comments
ghost
mentioned this issue
Aug 5, 2013
I get this on a 64 bit system too FWIW |
#1002 fixes them all as far as I can tell |
hmmm not sure what I am doing wrong now then the fix for #980 and compiling from ext didn't seem to help, just spaces the warnings out amongst other output. git pull says up to date r/inclusionin.c -o validation/validator/inclusionin.lo
libtool: compile: cc -I. -I/home/mick/cphalcon/ext -DPHP_ATOM_INC -I/home/mick/cphalcon/ext/include -I/home/mick/cphalcon/ext/main -I/home/mick/cphalcon/ext -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/mick/cphalcon/ext/validation/validator/inclusionin.c -fPIC -DPIC -o validation/validator/.libs/inclusionin.o
/home/mick/cphalcon/ext/validation/validator/inclusionin.c: In function 'zim_Phalcon_Validation_Validator_InclusionIn_validate':
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:86:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:86:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:95:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:95:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:110:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:110:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:124:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:124:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:126:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/inclusionin.c:126:3: warning: comparison between pointer and integer
/bin/sh /home/mick/cphalcon/ext/libtool --mode=compile cc -I. -I/home/mick/cphalcon/ext -DPHP_ATOM_INC -I/home/mick/cphalcon/ext/include -I/home/mick/cphalcon/ext/main -I/home/mick/cphalcon/ext -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/mick/cphalcon/ext/validation/validator/stringlength.c -o validation/validator/stringlength.lo
libtool: compile: cc -I. -I/home/mick/cphalcon/ext -DPHP_ATOM_INC -I/home/mick/cphalcon/ext/include -I/home/mick/cphalcon/ext/main -I/home/mick/cphalcon/ext -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/mick/cphalcon/ext/validation/validator/stringlength.c -fPIC -DPIC -o validation/validator/.libs/stringlength.o
/home/mick/cphalcon/ext/validation/validator/stringlength.c: In function 'zim_Phalcon_Validation_Validator_StringLength_validate':
/home/mick/cphalcon/ext/validation/validator/stringlength.c:97:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:97:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:103:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:103:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:112:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:112:2: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:140:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:140:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:152:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:152:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:163:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:163:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:165:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:165:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:179:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:179:3: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:191:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:191:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:202:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:202:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:204:4: warning: comparison between pointer and integer
/home/mick/cphalcon/ext/validation/validator/stringlength.c:204:4: warning: comparison between pointer and integer
/bin/sh /home/mick/cphalcon/ext/libtool --mode=compile cc -I. -I/home/mick/cphalcon/ext -DPHP_ATOM_INC -I/home/mick/cphalcon/ext/include -I/home/mick/cphalcon/ext/main -I/home/mick/cphalcon/ext -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/mick/cphalcon/ext/validation/validator.c -o validation/validator.lo
libtool: compile: cc -I. -I/home/mick/cphalcon/ext -DPHP_ATOM_INC -I/home/mick/cphalcon/ext/include -I/home/mick/cphalcon/ext/main -I/home/mick/cphalcon/ext -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /home/mick/cphalcon/ext/validation/validator.c -fPIC -DPIC -o validation/.libs/validator.o
|
This is because my pull request is not merged yet into 1.3.0. If you want to test it: git clone https://github.com/sjinks/cphalcon.git
git checkout issue-1001
cd ext
phpize && ./configure && make
sudo make install |
apologies, bit new to git! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I get a lot of these when running build/install 1.3.0, there are far more but these were the ones I managed to c&p. Also after server restart the phpinfo page had phalcon version 1.2 not 1.3
The text was updated successfully, but these errors were encountered: