edawson / gfakluge

A C++ library and utilities for manipulating the Graphical Fragment Assembly format.
http://edawson.github.io/gfakluge/
MIT License
51 stars 20 forks source link

Build error #18

Closed LukasW94 closed 6 years ago

LukasW94 commented 6 years ago

https://github.com/edawson/gfakluge/blob/ba4e7a77f72e5dc47de429782418762fc42e47fe/src/gfakluge.hpp#L420-L424

This code is giving me the following build error:

Code/gfakluge/src/gfakluge.hpp:420:52: error: ‘Date’ does not name a type ostream& operator<<(ostream& os, const Date& dt) Code/gfakluge/src/gfakluge.hpp:420:60: error: ‘std::ostream& gfak::GFAKluge::operator<<(std::ostream&, const int&)’ must take exactly one argument ostream& operator<<(ostream& os, const Date& dt)

Am I doing something wrong? I'm using gcc version 6.3.0 20170519 (Ubuntu/Linaro 6.3.0-18ubuntu2~16.04)

edawson commented 6 years ago

Nope, it was a copy/paste error on my end. Should now be fixed.

edawson commented 6 years ago

Hey @LukasW94 , is this fixed? I've gone ahead and closed but reopen it if you're still having issues.