On Monday, June 10, 2013 5:55:16 AM UTC-5, Bram Moolenaar wrote:
> configure:5467: checking if compile and link flags for Python are sane 
> configure:5484: gcc -o conftest -O2 -fno-strength-reduce -Wall 
> -I/usr/include/python2.7 -DPYTHON_HOME=\"/usr\" -pthread 
> -I/usr/local/include  -L/usr/local/lib conftest.c 
> -L/usr/lib/python2.7/config -lpython2.7 -lpthread -ldl -lutil -lm 
> -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions >&5 
> <command-line>:0:14: warning: missing terminating " character [enabled 
> by default]

This compiler warning looks suspiciously similar to the one I reported earlier:

conftest.c:0: unterminated string or character constant
conftest.c:0: possible real start of unterminated constant

I wonder if there is something wrong with generating the sample program in the
"checking if...flags for Python are sane" step.

> configure:5657: checking Python's configuration directory 
> configure:5683: result: /usr/lib/python2.7/config 
> configure:5729: checking if -pthread should be used 
> configure:5756: gcc -o conftest -O2 -fno-strength-reduce -Wall -pthread 
> -I/usr/local/include  -L/usr/local/lib conftest.c    >&5 
> configure:5756: $? = 0 
> configure:5757: result: yes 
> configure:5772: checking if compile and link flags for Python 3 are sane 
> 
> Looks like Python 2.7 was not rejected when looking for Python 3. 
> Can we think of a proper check that the found Python actually is Python 
> 3?

Maybe look for the first digit in the output of `python -V`?

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui