https://bugs.kde.org/show_bug.cgi?id=149485
--- Comment #59 from Gilles Caulier <caulier gilles gmail com> 2009-04-08 14:58:15 --- Julien, Can you report to lqr library team to use /* ... */ to comment code in pure C Ansi and not // as in C++. I need to fix each time lqr code properlly before to include it in plugin. Look compilation errors : [ 91%] Building C object digikam/imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/lqr/lqr_carver_bias.o In file included from /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_all.h:31, from /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver_bias.c:23: /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_base.h:32: error: expected identifier or ‘(’ before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_base.h:32: error: stray ‘#’ in program /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_base.h:33: error: expected identifier or ‘(’ before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_base.h:33: error: stray ‘#’ in program /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_base.h:34: error: expected identifier or ‘(’ before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_base.h:34: error: stray ‘#’ in program make[2]: *** [digikam/imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/lqr/lqr_carver_bias.o] Error 1 make[1]: *** [digikam/imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/all] Error 2 make: *** [all] Error 2 [ 91%] Building C object digikam/imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/lqr/lqr_carver.o /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c: In function ‘lqr_carver_build_mmap’: /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:406: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:424: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c: In function ‘lqr_carver_build_vsmap’: /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:513: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:524: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c: In function ‘lqr_carver_inflate’: /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:728: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:744: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c: In function ‘lqr_carver_update_mmap’: /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:937: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:939: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:940: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:955: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:987: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:1002: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:1013: error: expected expression before ‘/’ token /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:1013: error: stray ‘#’ in program /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:1040: error: stray ‘#’ in program /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c: In function ‘lqr_carver_build_vpath’: /mnt/data/devel/SVN/trunk/graphics/digikam/imageplugins/contentawareresizing/lqr/lqr_carver.c:1080: error: expected expression before ‘/’ token make[2]: *** [digikam/imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/lqr/lqr_carver.o] Error 1 make[1]: *** [digikam/imageplugins/contentawareresizing/CMakeFiles/digikamimageplugin_contentawareresizing.dir/all] Error 2 make: *** [all] Error 2 Thanks in advance Gilles Caulier -- Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Digikam-devel mailing list [hidden email] https://mail.kde.org/mailman/listinfo/digikam-devel |
Free forum by Nabble | Edit this page |