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 » U++ Library support » U++ Library : Other (not classified elsewhere) » Smtp: compiling error in smtp.h
Re: Smtp: compiling error in smtp.h [message #39968 is a reply to message #39964] Sun, 19 May 2013 12:26 Go to previous messageGo to previous message
Alboni is currently offline  Alboni
Messages: 214
Registered: January 2012
Location: Deventer, Netherlands
Experienced Member
When invoking Smtp::AddHeader I got the error:
"AddHeader must return a value"

(because it is an inline function you only get the error if the function is actually used, wich is probably why it was overlooked)

core/smtp.h Line 69 and 70

I got no compilation problem after I added
return *this;
to the functions, wich is obviously what was intended.





 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [FIXED] Memory leak in FreeType.
Next Topic: [FIXED] FC_WEIGHT is too big.
Goto Forum:
  


Current Time: Mon May 20 05:30:35 CEST 2024

Total time taken to generate the page: 0.00695 seconds