Debian Automated Code Analysis

checkbashisms analysis of gnat-4.4_4.4.5-3.dsc

possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 34 ('((' should be '$(('):
@@ -16,6 +16,7 @@ float f1 __attribute__ ((aligned));
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 99 ('((' should be '$(('):
   } __attribute__ ((__packed__)) foo;
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 114 (function names should only contain [a-z0-9_]):
 _Deque_base::~_Deque_base() {
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 120 (function names should only contain [a-z0-9_]):
 _Deque_base::_M_initialize_map()
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 337 (function names should only contain [a-z0-9_]):
@@ -54,14 +54,14 @@ Sim_Event_Manager::Sim_Event_Manager ()
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 338 (function names should only contain [a-z0-9_]):
 void Sim_Event_Manager::post_event () {
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 364 (function names should only contain [a-z0-9_]):
-  ~Y () { printf("~Y()           this: %x\n", this); }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 366 (function names should only contain [a-z0-9_]):
+  ~Y () { printf("~Y()           this: %p\n", (void*)this); }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 387 (function names should only contain [a-z0-9_]):
-  ~X () { printf("~X()           this: %x\n", this); --num_x; }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 388 (function names should only contain [a-z0-9_]):
+  ~X () { printf("~X()           this: %p\n", (void*)this); --num_x; }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 432 (function names should only contain [a-z0-9_]):
 foo::foo ()
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 447 (function names should only contain [a-z0-9_]):
 foo::~foo ()
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 459 (function names should only contain [a-z0-9_]):
    virtual ~B() {}
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 477 (function names should only contain [a-z0-9_]):
   virtual ~foo () {
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 525 (function names should only contain [a-z0-9_]):
-  ~T() { printf("~T() at %x\n", this); }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 526 (function names should only contain [a-z0-9_]):
+  ~T() { printf("~T() at %p\n", (void*)this); }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 539 (function names should only contain [a-z0-9_]):
-   ~Foo() { printf("~Foo() 0x%08lx\n", (__SIZE_TYPE__)this); ++d; }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 542 (function names should only contain [a-z0-9_]):
+   ~Foo() { printf("~Foo() %p\n", (void*)this); ++d; }
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 620 (function names should only contain [a-z0-9_]):
 void frob<T>::print () {

This report was generated on Thu, 16 Dec 2010 22:38:08 +0000, based on results by checkbashisms 2.10.65git5