This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/29592] Unending loops
- From: "darkjames at darkjames dot ath dot cx" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Oct 2006 16:20:04 -0000
- Subject: [Bug c/29592] Unending loops
- References: <bug-29592-13467@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from darkjames at darkjames dot ath dot cx 2006-10-25 16:20 -------
By the way, it's possible to fix the code in other way than using unions?
It just need to work both for wchar_t strings and normal strings...
If you have some ideas how, it'll be nice if you give me some hint...
maybe use char * everywhere and use:
real_char_index = index * (config_use_unicode * sizeof(wchar_t)) ?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29592