Debian Automated Code Analysis

checkbashisms analysis of gcc-snapshot_20110308-1.dsc

possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 95 ('((' should be '$(('):
   } __attribute__ ((__packed__)) foo;
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 109 (function names should only contain [a-z0-9_]):
 _Deque_base::~_Deque_base() {
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 115 (function names should only contain [a-z0-9_]):
 _Deque_base::_M_initialize_map()
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 325 (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 350 (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 352 (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 373 (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 374 (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 414 (function names should only contain [a-z0-9_]):
 foo::foo ()
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 429 (function names should only contain [a-z0-9_]):
 foo::~foo ()
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 440 (function names should only contain [a-z0-9_]):
    virtual ~B() {}
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 457 (function names should only contain [a-z0-9_]):
   virtual ~foo () {
possible bashism in ./debian/patches/testsuite-hardening-printf-types.diff line 503 (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 504 (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 516 (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 519 (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 591 (function names should only contain [a-z0-9_]):
 void frob<T>::print () {

This report was generated on Mon, 21 Mar 2011 06:38:05 +0000, based on results by checkbashisms 2.10.65git5