5 Replies Latest reply on Nov 24, 2016 5:23 AM by user_1377889

    Patches for suppressing harmless warnings in PDL v2.1

    lcappelletti_1863061

      Hi there,

         

      I'm upgrading from PDL v2.0 to 2.1 (precisely PDLSetup_2.1.0_8-16-16.exe as of Oct 20, 2016). I compile with:

         

      arm-none-eabi-g++.exe (GNU Tools for ARM Embedded Processors) 5.4.1 20160609 (release) [ARM/embedded-5-branch revision 237715]

         

      In the hope that they'll be gone with the next release, I'd like to provide some patches to fix harmless warnings such as:

         
            
      • wrong #include path
      •     
      • missing quotes around #error message string
      •     
      • -Wunused-parameter
      •     
      • -Wunused-but-set-variable
      •     
      • -Wparentheses (because of v = v & ~x | y which becomes v = (v & ~x) | y)
      •     
      • -Wconversion
      •     
      • -Wpadded
      •     
      • -Wmissing-prototypes
      •    
         

      Regards,

         

      Lorenzo