]> git.ipfire.org Git - thirdparty/tvheadend.git/commit
fix compile errors with gcc 4.1.x and 4.2.x 242/head
authorAndrew Martin <andrewcmartin@msn.com>
Sun, 10 Feb 2013 09:39:51 +0000 (02:39 -0700)
committerAndrew Martin <andrewcmartin@msn.com>
Sun, 10 Feb 2013 09:39:51 +0000 (02:39 -0700)
commiteaec34220b9c7960b80e7bb9481521f04985b1d9
tree0f1499dc0631fdc18db3d7c181a282c3d01f359c
parent79c134f9c401679b01d46b8857148c5457267224
fix compile errors with gcc 4.1.x and 4.2.x

 - tested with gcc 4.1.2, 4.2.1, 4.4.6, 4.6.3 and 4.7.2
 - disable gcc ignore pragma for "-Warray-bounds" if gcc version < 4.3
   - when I took out the pragma tvheadend compiled fine in all the above compilers, but I assume some version of gcc is issuing a false-positive.
   - "-Warray-bounds" was added in gcc 4.3: http://gcc.gnu.org/gcc-4.3/changes.html
 - fixes typo in cmdline help for -C
 - clarify usage of -a in help description
src/capmt.c
src/main.c