Remove this ad

Lead

Feb 13 14 6:01 PM

Tags : :

Using today's git tree :

[code]./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --with-wx-config=/usr/lib64/wx/config/gtk2-unicode-release-2.8 --enable-amulecmd --disable-debug --enable-optimize --enable-amule-daemon --enable-geoip --enable-nls --enable-webserver --enable-cas --enable-alcc --disable-upnp --disable-xas --enable-fileview --disable-plasmamule --enable-mmap --enable-wxcas --enable-alc --enable-amule-gui[/code]


[code]make[1]: Entering directory `/var/tmp/portage/net-p2p/amule-9999/work/amule-9999/src'
\
# source='Scanner.cpp' object='libmuleappcore_a-Scanner.o' libtool=no
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -DUSE_WX_EXTENSIONS -I/usr/lib64/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__ -DwxUSE_GUI=0 -I./libs -I./include -I/usr/include -D__WEAK_CRYPTO__ -W -Wall -Wshadow -Wundef -O2 -O2 -march=native -pipe -c -o libmuleappcore_a-Scanner.o `test -f 'Scanner.cpp' || echo './'`Scanner.cpp
./Scanner.l:214:5: warning: "YY_STACK_USED" is not defined [-Wundef]
Scanner.cpp: In function 'int yy_get_next_buffer()':
Scanner.cpp:1238:30: error: invalid initialization of reference of type 'int&' from expression of type 'yy_size_t {aka long unsigned int}'
./Scanner.l:28:13: error: in passing argument 2 of 'void ReadLexBuff(char*, int&, size_t)'
Scanner.cpp: In function 'yy_buffer_state* yy_scan_bytes(const char*, yy_size_t)':
Scanner.cpp:1779:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Scanner.cpp: At global scope:
Scanner.cpp:1800:13: warning: 'void yy_fatal_error(const char*)' defined but not used [-Wunused-function]
make[1]: *** [libmuleappcore_a-Scanner.o] Error 1[/code]
Quote    Reply   
Remove this ad
Remove this ad

#3 [url]

Feb 20 14 9:01 PM

Re: Scanner.cpp:1238:30: flex version ?

indeed, the Scanner.* timestamp issue !
thanks for the pointer.
Altought I don't why the cpp rebuild would have to fail ? do the prerequisite for building aMule changed and include a flex specific version ? (I'm using 2.5.37)

Quote    Reply   

#4 [url]

Feb 21 14 8:26 AM

Re: Scanner.cpp:1238:30: invalid initialization ref type ‘in

I don't know what version of flex was used to generate the Scanner.* files, but they seem to work as-is. Maybe we can modify configure and the Makefiles to regenerate files only if --enable-maintainer-mode.... or not.

concordia cum veritate

Quote    Reply   
Add Reply

Quick Reply

bbcode help