Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Issue with Color.h...
Issue with Color.h... [message #47821] Mon, 03 April 2017 01:27 Go to next message
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
See below.

[Updated on: Wed, 05 April 2017 04:26]

Report message to a moderator

Issue with Color.h... [message #47823 is a reply to message #47821] Mon, 03 April 2017 04:03 Go to previous message
ptkacz is currently offline  ptkacz
Messages: 89
Registered: March 2017
Member
Hi guys,

When I include <Core/Color.h> into an application and define the following:

RBGA* buffer;

A whole slew of errors result, for example:

//home/play/upp/upps rc/Core/Color.h (13): error: template argument 1 is invalid
(): struct RGBA : Moveable<RGBA> {
//home/play/upp/upps rc/Core/Color.h (20): error: reference to 'RGBA' is ambiguous
...
...

Now if I don't include <Core/Color.h>, but instead, <Painter/Painter.h>, no errors result.

Is Core/Color.h incomplete, such that it can't stand on it's own?



Peter

[Updated on: Wed, 05 April 2017 04:27]

Report message to a moderator

Previous Topic: Where i can start learning u++?
Next Topic: GridCtrl scroll callback?
Goto Forum:
  


Current Time: Fri Apr 26 00:14:43 CEST 2024

Total time taken to generate the page: 0.04020 seconds