Created: (MODPYTHON-214) Look more into Win32 compiler
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Created: (MODPYTHON-214) Look more into Win32 compiler




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Created: (MODPYTHON-214) Look more into Win32 compiler  
Graham Dumpleton (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-14-07 06:13 AM

Look more into Win32 compiler warnings.
---------------------------------------

Key: MODPYTHON-214
URL: https://issues.apache.org/jira/browse/MODPYTHON-214
Project: mod_python
Issue Type: Task
Reporter: Graham Dumpleton
Priority: Minor


Compilation on Win32 using VisualStudio project file throws up a lot of warn
ings still with 3.3. This was highlighted by Jeff Robins.

http://mail-archives.apache.org/mod...1c70
996$8ae9f000$db01a8c0@corporate.cambridge.livedata.com%3e

The errors from the post are:

------ Build started: Project: mod_python, Configuration: Release Win32 ----
--
Compiling...
finfoobject.c
c:\Python25\include\pyconfig.h(309) : warning C4005: 'PLATFORM' : macro rede
finition
c:\Program Files\Apache Software Foundation\Apache2.2\include\os.h(41) : see
 previous definition of 'PLATFORM'
finfoobject.c(129) : warning C4047: 'function' : 'long' differs in levels of
 indirection from 'apr_uid_t'
finfoobject.c(137) : warning C4047: 'function' : 'long' differs in levels of
 indirection from 'apr_gid_t'
finfoobject.c(145) : warning C4244: 'function' : conversion from 'apr_ino_t'
 to 'long', possible loss of data
finfoobject.c(173) : warning C4244: 'function' : conversion from 'apr_off_t'
 to 'long', possible loss of data
finfoobject.c(183) : warning C4244: 'function' : conversion from 'double' to
 'long', possible loss of data
finfoobject.c(191) : warning C4244: 'function' : conversion from 'double' to
 'long', possible loss of data
finfoobject.c(199) : warning C4244: 'function' : conversion from 'double' to
 'long', possible loss of data
util.c
util.c(122) : warning C4244: 'function' : conversion from 'apr_ino_t' to 'lo
ng', possible loss of data
util.c(140) : warning C4047: 'function' : 'long' differs in levels of indire
ction from 'apr_uid_t'
util.c(146) : warning C4047: 'function' : 'long' differs in levels of indire
ction from 'apr_gid_t'
util.c(152) : warning C4244: 'function' : conversion from 'apr_off_t' to 'lo
ng', possible loss of data
util.c(158) : warning C4244: 'function' : conversion from 'double' to 'long'
, possible loss of data
util.c(164) : warning C4244: 'function' : conversion from 'double' to 'long'
, possible loss of data
util.c(170) : warning C4244: 'function' : conversion from 'double' to 'long'
, possible loss of data
tableobject.c
serverobject.c
requestobject.c
requestobject.c(886) : warning C4244: '=' : conversion from 'apr_off_t' to '
long', possible loss of data
requestobject.c(986) : warning C4244: '=' : conversion from 'apr_off_t' to '
long', possible loss of data
requestobject.c(1434) : warning C4244: '=' : conversion from 'apr_off_t' to 
'apr_size_t', possible loss of data
requestobject.c(1609) : warning C4244: 'initializing' : conversion from 'apr
_off_t' to 'long', possible loss of data
mod_python.c
mod_python.c(429) : warning C4101: 'mutex_dir' : unreferenced local variable
mod_python.c(1985) : warning C4244: 'function' : conversion from 'apr_off_t'
 to 'apr_size_t', possible loss of data
mod_python.c(2028) : warning C4101: 'tmp_buck' : unreferenced local variable
hlistobject.c
hlist.c
filterobject.c
filterobject.c(234) : warning C4018: '>' : signed/unsigned mismatch
filterobject.c(243) : warning C4018: '<' : signed/unsigned mismatch
connobject.c
connobject.c(155) : warning C4018: '>' : signed/unsigned mismatch
_apachemodule.c
Compiling resources...
Linking...
Creating library .\Release/mod_python.lib and object .\Release/mod_python.ex
p
Build log was saved at "file://c:\work\mod_python-3.3.0-dev-20061109\src\Rel
ease\BuildLog.htm"
mod_python - 0 error(s), 25 warning(s)

Compiling with -Wall on UNIX systems when using gcc might help as default op
tions on gcc may not be showing these, that or it comes down to different ty
pe definitions on Win32.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:11 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register