Public bug reported:

Binary package hint: libvncserver-dev

While compiling kde4network, I found that krfbserver bombed out with the
error "/usr/include/rfb/rfb.h:971: error: expected declaration before
‘}’ token."  Upon further investigation, I discovered that including
rfb.h twice causes this.  The problem is that the #endif for the #ifndef
RFB_H is either before the closing brace or non-existant.  I will
determine which is the case and submit a patch.  To see this bug in
action, compile the following program:

#include <rfb/rfb.h>
#include <rfb/rfb.h>

int main(int argc, char* argv[]) {
  return 0;
}

** Affects: libvncserver (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[gutsy] bad code in rfb.h (libvncserver-dev)
https://bugs.launchpad.net/bugs/132845
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to