From: robertlipe Date: Sun, 13 Apr 2014 01:09:23 +0000 (+0000) Subject: Update README.contrib for C++ world. X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~154 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=90ed2a4b7b538ae7667f8837f3a5926eece93ba4;p=gpsbabel.git Update README.contrib for C++ world. --- diff --git a/gpsbabel/README.contrib b/gpsbabel/README.contrib index fda753114..b6bb8c3ab 100644 --- a/gpsbabel/README.contrib +++ b/gpsbabel/README.contrib @@ -5,19 +5,16 @@ consideration and integration. Rules to Live By ---------------- -Standards are good. ISO C and POSIX are greatly preferred. - -Reuse is good, if doing so is not onerous. For example, using the expat -libraries vastly simplifies the XML parsers while increasing their -robustness plus those libraries are ubiquitous. So I consider it OK to -require expat. +Standards are good. ISO C++, Qt, and POSIX are greatly preferred to +adding more libraries or implementing your own hash maps or other common +functions. You may find format_skeleton.c and filter_skeleton.c in the source tree to be helpful examples. Just add meat! Compilers complain for a reason. Code shouldn't emit warnings. -The entire world doesn't run . I've tested this code on +The entire world doesn't run . We regularly test this code on at least five different OSes. If you find yourself wanting to insert compiler or OS specific magic, please resist.