To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83489





------- Additional comments from [EMAIL PROTECTED] Fri Nov  9 15:59:22 +0000 
2007 -------
@rene:  "still get the warning with gcc 4.2.1" ...which I cannot reproduce:

---8<---
$ gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.2.1/configure --prefix=/export/home/sb93797/gcc-4.2.1
--enable-languages=c,c++
Thread model: posix
gcc version 4.2.1

$ cat bad.c
void f(int n) {
  if (n == 0) f(1);
  else ;
}

$ gcc -Wextra bad.c
bad.c: In function 'f':
bad.c:3: warning: empty body in an else-statement

$ cat good.c
void f(int n) {
  if (n == 0) f(1);
  else { ; }
}

$ gcc -Wextra -c good.c
---8<---

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to