<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head><body dir="auto">Could you use the gcc option to capture the fully preprocessed source the compiler is compiling and send a URL to that for us to browse? That should make it straight forward to figure out what the compiler's gripe is really about.<div dir="auto">Pete</div><div><br></div><div style="font-size:100%;color:#000000" dir="auto"><!-- originalMessage --><div>-------- Original message --------</div><div>From: Alex Davis via TriEmbed <triembed@triembed.org> </div><div>Date: 4/22/20  11:16 AM  (GMT-05:00) </div><div>To: triembed@triembed.org </div><div>Subject: Re: [TriEmbed] TriEmbed Digest, Vol 83, Issue 15 </div><div><br></div></div><br>>    2. Re: C++ class templates in Arduino - problems (Jon Wolfe)<br>>    3. Re: C++ class templates in Arduino - problems (Robert Mackie)<br><br>Simplifying the program to just this:<br>#include "geometry.h"<br><br>const uint32_t imageWidth = 4095;<br>const uint32_t imageHeight = 4095;<br><br><br>// define the frame-buffer and the depth-buffer. Initialize depth buffer<br>// to far clipping plane.<br>Vec3<unsigned char> *frameBuffer = new Vec3<unsigned char>[imageWidth * imageHeight];<br>for (uint32_t i = 0; i < imageWidth * imageHeight; ++i) frameBuffer[i] = Vec3<unsigned char>(255);<br><br><br>// ----------------------------------------------<br>// setup<br>// ----------------------------------------------<br>void setup() {<br>  <br>}<br><br>// ----------------------------------------------<br>// main loop<br>// ----------------------------------------------<br>void loop() {<br>    <br>}<br><br>still results in the same compile error. Moving the new line into the include gives the same error.<br><br>Alex<br><br><br>-- <br>"The theater of noise is proof of our potential."<br>|\ |  (¯  \/ |¯\  |V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯   /¯  /\ |V|<br>|-||_ (_  /\ |_/ @| | |-| |  | \ | /\ |^| | |_/ (_ . \_  \/ | |<br><br>You won't find me on Facebook.<br><br>_______________________________________________<br>Triangle, NC Embedded Computing mailing list<br><br>To post message: TriEmbed@triembed.org<br>List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org<br>TriEmbed web site: http://TriEmbed.org<br>To unsubscribe, click link and send a blank message: mailto:unsubscribe-TriEmbed@bitser.net?subject=unsubscribe<br><br></body></html>