CyberCircuits / minini

Automatically exported from code.google.com/p/minini
Other
0 stars 0 forks source link

gcc doesn't like "unsigned TCHAR" in portable strnicmp #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. build library w/ PORTABLE_STRNICMP defined on gcc

What is the expected output? What do you see instead?

You'll get error messages because gcc thinks you're trying to make another type 
into an unsigned type (TCHAR is a typedef).

What version of the product are you using? On what operating system?

1.12 (the latest)

Please provide any additional information below.

Easy fix is to just take out the unsigned out of it..  TCHAR should be an 
unsigned char typedef instead of "typedef char TCHAR"...

Original issue reported on code.google.com by kenk...@gmail.com on 8 May 2012 at 9:09

GoogleCodeExporter commented 9 years ago
Fix committed. Thanks.

Original comment by thiadmer...@gmail.com on 14 May 2012 at 11:59