"Shachar" == Shachar Shemesh wine-devel@sun.consumer.org.il writes:
Shachar> Not trying to be a hard head here, and I'm not even remotely Shachar> trying to suggest that this particular line of code is a Shachar> crucial point. It's just that my understanding of this project Shachar> and the way code should be with it, all WINE DLLs are actually Shachar> WineLib code. All WineLib code should duel compile on Windows Shachar> and Unix. In theory, there should not be a problem compiling Shachar> our sources of USER.DLL on Visual C, and running it on Windows Shachar> instead of the native DLL (far fetched example, I know).
Shachar> If VC does have a "one correct way", while gcc doesn't, Shachar> shouldn't we prefer the VC correct one?
With VC++ you either compile an ASCII or an Unicode version. In this case you know whether to treat a char or string as ascii or unicode. In Wine you have both ASCII and Unicode in one executable/library. Here you have to be explicit what you mean.
Bye