libplist-1.3 build error in plistPYTHON_wrap.cxx
Reported by ronin-166163 (at lighthouseapp) | October 7th, 2011 @ 09:55 AM
$ cmake [...] [100%] Building CXX object
swig/CMakeFiles/plist.dir/plistPYTHON_wrap.cxx.o cd
/usr/ports/pobj/libplist-1.3/libplist-1.3/swig &&
/usr/bin/c++ -D_plist_EXPORTS -O2 -pipe -fPIC
-I/usr/ports/pobj/libplist-1.3/libplist-1.3/include
-I/usr/local/include/python2.7 -o
CMakeFiles/plist.dir/plistPYTHON_wrap.cxx.o -c
/usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx
/usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx:
In function 'PyObject _wrap_Date_get_value(PyObject,
PyObject)':
/usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx:9770:
error: invalid conversion from 'long int' to 'const
time_t'
/usr/ports/pobj/libplist-1.3/libplist-1.3/swig/plistPYTHON_wrap.cxx:9770:
error: initializing argument 1 of 'tm gmtime(const
time_t)' ** Error code 1
The offending line in plistPYTHON_wrap.cxx are:
struct tm* t = gmtime ( &(&result)->tv_sec );
$ swig -version SWIG Version 2.0.4
Compiled with c++ [i386-unknown-openbsd5.0]
Configured options: +pcre
$ g++ -dumpversion 4.2.1
Comments and changes to this ticket
-
Martin S. February 24th, 2012 @ 11:53 AM
- State changed from new to open
- Tag set to build, libplist, swig
- Assigned user set to Nikias Bassen
-
Olivier LAHAYE March 2nd, 2012 @ 02:29 PM
what is version 1.3???
I thougth that we were at V1.8 by now (March 2nd, 2012) -
Martin S. March 19th, 2013 @ 12:24 PM
- State changed from open to invalid
Please reopen if still encountered using latest libplist.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
A project around supporting the iPhone in Linux.
See http://libimobiledevice.org