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.Pete
-------- Original message --------From: Alex Davis via TriEmbed
<[email protected]> Date: 4/22/20 11:16 AM (GMT-05:00) To:
[email protected] Subject: Re: [TriEmbed] TriEmbed Digest, Vol 83, Issue 15
> 2. Re: C++ class templates in Arduino - problems (Jon Wolfe)> 3. Re:
C++ class templates in Arduino - problems (Robert Mackie)Simplifying the
program to just this:#include "geometry.h"const uint32_t imageWidth =
4095;const uint32_t imageHeight = 4095;// define the frame-buffer and the
depth-buffer. Initialize depth buffer// to far clipping plane.Vec3<unsigned
char> *frameBuffer = new Vec3<unsigned char>[imageWidth * imageHeight];for
(uint32_t i = 0; i < imageWidth * imageHeight; ++i) frameBuffer[i] =
Vec3<unsigned char>(255);// ----------------------------------------------//
setup// ----------------------------------------------void setup() { }//
----------------------------------------------// main loop//
----------------------------------------------void loop() { }still results
in the same compile error. Moving the new line into the include gives the same
error.Alex-- "The theater of noise is proof of our potential."|\ | (¯ \/ |¯\
|V| |\ ¯|¯ |¯) | \/ | | | |¯\ (¯ /¯ /\ |V||-||_ (_ /\ |_/ @| | |-| | | \ |
/\ |^| | |_/ (_ . \_ \/ | |You won't find me on
Facebook._______________________________________________Triangle, NC Embedded
Computing mailing listTo post message: [email protected] info:
http://mail.triembed.org/mailman/listinfo/triembed_triembed.orgTriEmbed web
site: http://TriEmbed.orgTo unsubscribe, click link and send a blank message:
mailto:[email protected]?subject=unsubscribe_______________________________________________
Triangle, NC Embedded Computing mailing list
To post message: [email protected]
List info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.org
TriEmbed web site: http://TriEmbed.org
To unsubscribe, click link and send a blank message:
mailto:[email protected]?subject=unsubscribe