This is the mail archive of the cygwin mailing list for the Cygwin 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]

Re: Possible Bug ???


On Wed, Nov 2, 2011 at 12:36 AM, Leon Vanderploeg  wrote:
> Greetings,
> This issue is making my head flat from pounding it against the wall. ?It appears to be a bug in Cygwin 1.7, but I can't say with any certainty. ?I've been down too many dead end trails already...
> With cygwin 1.7.5, file name with a special characters such as ñ (n with tidle above it) fail be properly extracted from a WIN32_FIND_DATA structure with findFirstFile (or findNextFile).
> To set up a simple test scenario, I created a file in C:\Testing named ?Mañana.docx. ?I compiled the code at the end of this message on Cygwin 1.7.9 with GCC version 3.4.4.

Your program does not compile:

$ gcc-3
In file included from
/usr/include/curl/curl.h:126: error: `SOCKET' does not name a type
/usr/include/curl/curl.h:228: error: `curl_socket_t' has not been declared
/usr/include/curl/curl.h:242: error: typedef `curl_socket_t' is
initialized (use __typeof__ instead)
/usr/include/curl/curl.h:242: error: `curl_opensocket_callback' was
not declared in this scope
/usr/include/curl/curl.h:242: error: expected `,' or `;' before '(' token In function `int main(int, char**)': error: `wcslen' undeclared (first use this function) error: (Each undeclared identifier is reported only once for
each function it appears in.)

$ gcc-3 -mno-cygwin curl/curl.h: No such file or directory sys/wait.h: No such file or directory cygwin/wait.h: No such file or directory In function `int main(int, char**)': error: cannot convert `char*' to `const wchar_t*' for
argument `1' to `size_t wcslen(const wchar_t*)'

You are mixing narrow and wide strings. This will not work.

GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds

Problem reports:
Unsubscribe info:

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