On Tue, 25 Jan 2005 10:58:31 -0800 William wrote: WRB> I found a good reference to the problem noted above. It can be reviewed WRB> at the URL WRB> WRB> <http://docs.hp.com/en/B3901-90003/ch02s01.html> WRB> WRB> under the section titled Spreading Source Code Across Multiple Lines. WRB> Again, this issue is with regard to the C Language, and since Net-SNMP is WRB> written in the C Language, the MFD scripts ought to generate C Language WRB> code, not C++ Language code. I did check Stroustrup, and the relevant WRB> section in his book The C++ Programming Language, second edition, WRB> section r.16.1, page 607, Phases of Preprocessing, paragraph 7: WRB> WRB> [Adjacent string literals are concatenated.]
I dunno, this link states that ANSI C has the same feature, and compiling a test program with gcc -Wall -pedantic -ansi gcc -Wall -pedantic -std=C89 gcc -Wall -pedantic -std=C99 produces no warnings or errors... -- Robert Story; NET-SNMP Junkie Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp> Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users> You are lost in a twisty maze of little standards, all different. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users