pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: error: '::vfwscanf' has not been declared



On Mon, Dec 23, 2024 at 06:48:45PM +0900, Makoto Fujiwara wrote:
> /usr/include/g++/cwchar:164:11: error: '::vfwscanf' has not been declared
>    using ::vfwscanf;

There is a bug in the netbsd-9 (and earlier) libc/libstdc++ headers
where many standard functions will not be declared.

In most cases adding -D_NETBSD_SOURCE to CXXFLAGS fixes it.


Home | Main Index | Thread Index | Old Index