[Klone-users] Compilation for elf m68k
Mickael Auger
mickael.auger at gmail.com
Wed Apr 9 11:45:27 EDT 2008
Hi, Thomas
I test on a standard Linux (using gcc and g++) the C++ web page (.klx).
My .klx web page contains :
<html>
<body>
<%
char* mot1 = "Bonjour";
io_printf(out,"%s ",mot1);
char* mot2 = "vous";
io_printf(out,"%s ",mot2);
%>
</body>
</html>
The compilation fails and prints :
°-___________________________________________________________________
g++
-I/home/all_user/ug_ma/klone-2.0.2/build/target/klone-core-2.0.2/libu/include
-I/home/all_user/ug_ma/klone-2.0.2/build/target/klone-core-2.0.2
-DHAVE_CONF_H -I/usr/local/include -I/usr/local/include
-O2 -I/home/all_user/ug_ma/klone-2.0.2
-I/home/all_user/ug_ma/klone-2.0.2/build/target/klone-core-2.0.2
-I/home/all_user/ug_ma/klone-2.0.2/
-I/home/all_user/ug_ma/klone-2.0.2/include -c
pg_bccf27d73a7f11e6d0ed7c1736e3b076.cc -o
pg_bccf27d73a7f11e6d0ed7c1736e3b076.o
pg_bccf27d73a7f11e6d0ed7c1736e3b076.cc: In function `int page_cxx_klx()':
pg_bccf27d73a7f11e6d0ed7c1736e3b076.cc:12: error: invalid conversion from
`volatile int*' to `int'
____________________________________________________________________
o-
I also test the "*KLapp with intermixed C and C++ code" example available on
the KLone Wiki but I have the error with the C++ page.
This error is a warning for the gcc compiler.
*
Is it a bug ?
Thanks.
--
Mickaël AUGER
mickael.auger at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://koanlogic.com/pipermail/klone-users/attachments/20080409/d990e9a2/attachment.html
More information about the klone-users
mailing list