This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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: [PATCH 1/2][PR gdb/20239] Make evaluation and type-printing of all NonZero-optimized enums work


On Wednesday 29 June 2016 14:27:56 Manish Goregaokar wrote:
> No, strsep was just a better fit here. I wasn't aware that it doesn't
> work on windows.

I just found it when investigating the build failure: the manual says it 
conforms to 4.4BSD and suggest the use of strtok for portability.

> 
> I'll fix it to use strtok.

Great, many thanks! While you are at it, shouldn't an include of string.h be 
added as well? It clearly does not fail now without it because I suppose 
another header is including it.

Best regards,

Thomas


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