This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[bug] wordexp.h is not C++ friendly


Hi,

I just found that wordexp.h is not C++ friendly because it doesn't wrap
declarations in extern "C". As a result, when called from within a C++
program, the wordexp() and wordfree() functions wind up as undefined
references during link.

I'd submit a patch but have already spent too much time today trying (and
failing miserably) to get newlib to build under Cygwin.

Thanks,

Dan Moulding
MIT Lincoln Laboratory
Group 63, Wideband Tactical Networking
Digital Prospectors
www.dpcit.com
email: dmoulding@ll.mit.edu
Phone: (781) 981-4957 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]