edward6018 / libnetconf

Automatically exported from code.google.com/p/libnetconf
Other
0 stars 0 forks source link

Compiler requires explicit VOID parameter in prototype declaration.ls #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. NC client has: "include <libnetconf.h>"
2. Embedded target is cross-compiled with "-Werror -Wstrict-prototypes".

What is the expected output? What do you see instead?
Expected build to produce no warnings.
Instead:
   "error: function declaration isn't a prototype
    [-Werror=strict-prototypes]
    cc1: all warnings being treated as errors"

What version of the product are you using? On what operating system?
VERSION 0.5.99
commit f87d9fb67c113a610297d028ddc07df6c41bc3d1
Author: Radek Krejci <rkrejci@cesnet.cz>
Date:   Fri Aug 16 09:51:10 2013 +0200

OS
Linux 3.0.17 #3 SMP Tue May 1 13:58:54 PDT 2012 i686 i686 i386 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by br...@vellosystems.com on 11 Sep 2013 at 7:33

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by rkre...@cesnet.cz on 12 Sep 2013 at 3:00

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 09dfcb31b3ec.

Original comment by rkre...@cesnet.cz on 12 Sep 2013 at 3:01