MichaelChirico / r-bugs

A ⚠️read-only⚠️mirror of https://bugs.r-project.org/
20 stars 0 forks source link

[BUGZILLA #416] DEC cc doesn't like c++ comments #574

Closed MichaelChirico closed 4 years ago

MichaelChirico commented 4 years ago

From: albrecht.gbehardt@<::CENSORED -- SEE ORIGINAL ON BUGZILLA::>-klu.ac.at Full_Name: Albrecht Gebhardt Version: 0.99.0 OS: alpha, osf4.0 Submission from: (NULL) (143.205.180.40)

DEC cc doesn't like c++ style comments // like this one Please use standard cc comments or #if 0 ... #endif

A quite large patch follows (I hope it will pass mailing with not too much wrapped lines): --- ./src/main/g_her_glyph.c.dec-cc.patch Mon Feb 7 14:48:10 2000 +++ ./src/main/g_her_glyph.c Mon Feb 7 14:49:40 2000 @@ -118,7 +118,7 @@ / PAUL MURRELL sys-defines.h not used / -// #include "sys-defines.h" +/ #include "sys-defines.h" /

/ PAUL MURRELL extern.h renamed g_extern.h --- ./src/main/g_fontdb.c.dec-cc.patch Mon Feb 7 14:48:10 2000 +++ ./src/main/g_fontdb.c Mon Feb 7 14:49:40 2000 @@ -20,7 +20,7 @@ / PAUL MURRELL sys-defines.h not used / -// #include "sys-defines.h" +/ #include "sys-defines.h" */

/ PAUL MURRELL extern.h renamed g_extern.h --- ./src/main/g_cntrlify.c.dec-cc.patch Mon Feb 7 14:48:11 2000 +++ ./src/main/g_cntrlify.c Mon Feb 7 14:49:40 2000 @@ -59,7 +59,7 @@ / PAUL MURRELL sys-defines.h not used / -// #include "sys-defines.h" +/ #include "sys-defines.h" */

/* PAUL MURRELL extern.h renamed g_extern.h @@ -209,7 +209,7 @@

   /* if current font is Hershey, first try to match each ligature
      pattern (no ligatures supported in non-Hershey fonts) */

@@ -684,22 +684,24 @@ / PAUL MURRELL Only concerned with Hershey fonts /

@@ -330,7 +330,7 @@ GConvertYUnits(y_offset label_height, g_unit, INCHES, dd)); / call stroker on the sequence of strokes obtained from each char (the stroker may manipulate the line width) / -//_draw_hershey_stroke (dd, true, 0, HERSHEY_EM);
+ /
_draw_hershey_stroke (dd, true, 0, HERSHEY_EM); */ _draw_hershey_string (dd, codestring);

 /* Restore original values of relevant drawing attributes, free

@@ -348,7 +348,7 @@ free (old_join_mode); / / return to original position / -// _plotter->fmove (R___(_plotter) oldposx, oldposy); +/ _plotter->fmove (R___(_plotter) oldposx, oldposy); */ }

dd->gp.srt = srtsave; @@ -368,12 +368,12 @@ */

vmaxset(vmax);


METADATA

MichaelChirico commented 4 years ago

Audit (from Jitterbug): Fri Feb 11 13:51:06 2000 leisch moved from incoming to Installation Wed Feb 16 19:30:26 2000 ripley moved from Installation to Installation-fixed


METADATA