Re: [Libreoffice] Cppcheck defect when @ is present
On 09/11/2011 01:27 PM, Pierre-André Jacquod wrote: What's the best thing to do : - to keep objective C++ parts ? - to replace objective C++ by plain (with or without boost) C++ ? for me there are already too many languages and flavour of languages. I would stay with plain C++, not adding objective C++ on top In the Mac OS X specific code parts, we do need Objective C code, to interface the relevant Mac APIs. -Stephan ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Cppcheck defect when @ is present
Hello, I got this comment of a cppcheck developper : is this objective c++? Can the code be replaced in the tokenizer with plain C++ somehow? He seems to be right about objective C++. Then I made a opengrok research, 4 files use @try. Perhaps, there are other files which use @ expression, since @try and @catch are not the only @ expressions. What's the best thing to do : - to keep objective C++ parts ? - to replace objective C++ by plain (with or without boost) C++ ? Julien. -- View this message in context: http://nabble.documentfoundation.org/Cppcheck-defect-when-is-present-tp3324103p3326563.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: [Libreoffice] Cppcheck defect when @ is present
Hello, What's the best thing to do : - to keep objective C++ parts ? - to replace objective C++ by plain (with or without boost) C++ ? for me there are already too many languages and flavour of languages. I would stay with plain C++, not adding objective C++ on top Just my feelings regards Pierre-André ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice
[Libreoffice] Cppcheck defect when @ is present
Hello, Following the pb cppcheck duplicateExpression, I found why the duplicateExpression wasn't detected on salframe.cxx from aqua part. It's due to the @ use, for example @try, @catch and other things like this. As soon as the @ parts are commented out, detection works. I created the ticket 3102 on cppcheck : https://sourceforge.net/apps/trac/cppcheck/ticket/3102 Conclusion : I don't know if @ is often used but there could be more error/warnings cppcheck in aqua parts as soon as this bug will be resolved. Julien. -- View this message in context: http://nabble.documentfoundation.org/Cppcheck-defect-when-is-present-tp3324103p3324103.html Sent from the Dev mailing list archive at Nabble.com. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice