picotcp icon indicating copy to clipboard operation
picotcp copied to clipboard

picoTCP uses variadic defines specific to gcc

Open mateuszviste opened this issue 9 years ago • 1 comments

this is another compatibility/portability problem - see the attached patch.

picoTCP uses variadic define declarations that are specific to gcc. these declarations fail on OpenWatcom, I had to adapt them as shown in the patch to compile picoTCP on my compiler.

I don't know if there is a silver bullet for this problem - maybe some #ifdef would be required to adapt the syntax of such specific things depending what compiler is used?

variadic-define.patch.txt

mateuszviste avatar Nov 18 '15 11:11 mateuszviste

please make a pull request ISO sending text patches.

danielinux avatar Nov 18 '15 14:11 danielinux