Hi!
On 9/13/2018 8:59 AM, Luke Benes wrote:
By manually specifying  includes and preprocessor configurations, I was able to reduce the number 
of warning from ~9000 to 30.
Great!
Ideally, the next step would be to extract the "DEFS": and "INCLUDE": from gbuild-to-ide and pass 
that to cppcheck. But that's for another time.
> dbaccess/source/shared/registrationhelper.cxx
> 23    preprocessorErrorDirective        error    #error "don't build 
this file directly! use dbu_reghelper.cxx instead!"
This one is because a .cxx file was processed directly. The 
workdir/GbuildToJson/Library/dbulo.dll does contain 
dbaccess/source/shared/dbu_reghelper in its CXXOBJECTS, but no entry for 
dbaccess/source/shared/registrationhelper. So extracting this 
information seems helpful, too, to reduce false positives (OTOH I wonder 
what this inclusion technique is useful here for.)
--
Best regards,
Mike Kaganski
Context
   
 
  Privacy Policy |
  
Impressum (Legal Info) |
  
Copyright information: Unless otherwise specified, all text and images
  on this website are licensed under the
  
Creative Commons Attribution-Share Alike 3.0 License.
  This does not include the source code of LibreOffice, which is
  licensed under the Mozilla Public License (
MPLv2).
  "LibreOffice" and "The Document Foundation" are
  registered trademarks of their corresponding registered owners or are
  in actual use as trademarks in one or more countries. Their respective
  logos and icons are also subject to international copyright laws. Use
  thereof is explained in our 
trademark policy.