Re: global const variable not getting assigned properly

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

 



Hi Chad,

> Any idea why it is 0 when using wcslen?  And any idea why I'm not even getting
> an error to notify me of the problem?

Works on my platform with my version of GCC with the BSD Standard C Library
(ISO/IEC 9899:1999 compliant).

I'm guessing its either your Standard C Library or your version of GCC or
your platform.

What version of Standard C Library are you using?

Who is the provider of your Standard C Library (e.g., GLibC)?

What version of GCC are you using?

What platform are you using?

Also, your code snippet and explanation of the behavior is nice, but could
you provide a short complete code example that demonstrates the problem.
Maybe its something simple like you used the incorrect header files (e.g.,
<wchar.h> instead of <cwchar>).

And could you provide the GCC command line that you used to compile your
short complete code example.

Thanks,
--Eljay


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux