Hi, Thomas<br><br>I test on a standard Linux (using gcc and g++) the C++ web page (.klx).<br><br>My .klx web page contains :<br><br> <html><br> <body><br> <%<br> char* mot1 = "Bonjour";<br>
io_printf(out,"%s ",mot1);<br> <br> char* mot2 = "vous";<br> io_printf(out,"%s ",mot2);<br> %><br> </body><br> </html><br><br>The compilation fails and prints :<br>
<br>°-___________________________________________________________________<br><br>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<br>
-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<br>
pg_bccf27d73a7f11e6d0ed7c1736e3b076.cc: In function `int page_cxx_klx()':<br>pg_bccf27d73a7f11e6d0ed7c1736e3b076.cc:12: <span style="font-weight: bold;">error: invalid conversion from `volatile int*' to `int'</span><br style="font-weight: bold;">
<br> ____________________________________________________________________<br>o-<br><br>I also test the "<strong style="font-weight: normal;">KLapp with intermixed C and C++ code" example available on the KLone Wiki but I have the error with the C++ page.<br>
This error is a warning for the gcc compiler<span style="font-weight: bold;">.</span><br></strong><br>Is it a bug ?<br><br>Thanks.<br clear="all"><br>-- <br>Mickaël AUGER<br><a href="mailto:mickael.auger@gmail.com">mickael.auger@gmail.com</a>