Linux.com

Portable code idea

Posted by: Anonymous Coward on December 30, 2005 08:33 PM

Interesting.



A package I'd like to see would tell me whenever I'm using something non-portable.



Something like lint that would print out error messages for each library function call in my source listing what platforms it was [not] available on and listing portable alternatives. With switches to filter the warning messages to only the platforms I'm interested in. I would then modify my code to get the warning message count down to zero and enhance the portability of my code.

#

Return to Using Gnulib to improve software portability