NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lib/54744: monetary.h has syntax error in C++ mode
>Number: 54744
>Category: lib
>Synopsis: monetary.h has syntax error in C++ mode
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: lib-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 07 14:30:00 +0000 2019
>Originator: Bruno Haible
>Release: 8.0
>Organization:
GNU
>Environment:
NetBSD ... 8.0 NetBSD 8.0 ...
>Description:
/usr/include/monetary.h causes a syntax error when included in C++ mode.
>How-To-Repeat:
$ echo '#include <monetary.h>' > foo.cc
$ g++ -D_NETBSD_SOURCE -c foo.cc
In file included from foo.cc:1:0:
/usr/include/monetary.h:60:19: error: expected '}' at end of input
>Fix:
Balance out the __BEGIN_DECLS and __END_DECLS in monetary.h.
Home |
Main Index |
Thread Index |
Old Index