[TriEmbed] TriEmbed Digest, Vol 83, Issue 15
Pete Soper
pete at soper.us
Wed Apr 22 10:29:11 CDT 2020
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 <triembed at triembed.org> Date: 4/22/20 11:16 AM (GMT-05:00) To: triembed at triembed.org 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: TriEmbed at triembed.orgList info: http://mail.triembed.org/mailman/listinfo/triembed_triembed.orgTriEmbed web site: http://TriEmbed.orgTo unsubscribe, click link and send a blank message: mailto:unsubscribe-TriEmbed at bitser.net?subject=unsubscribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20200422/f2e9387a/attachment.htm>
More information about the TriEmbed
mailing list