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) » problem with fprintf
problem with fprintf [message #29217] Mon, 11 October 2010 14:08 Go to previous message
o_wild is currently offline  o_wild
Messages: 28
Registered: December 2008
Location: Urmqi
Promising Member

The following code is excerpt of an opensource software, but there is error when compiled.

fprintf(ofp,"%s\n",mes1); // mes1 is of type String

The error message is
cannot pass objects of non-trivially-copyable type 'class Upp::String' through '...'

The software can be compiled with both mingw and MSVC as the developer says. Since I have problem using MSVC due to C2001 error(new line in constant), I choose MingGW 4.5.0.

Is their any substitute for 'fprintf'? by the way, i tested 'printf' and found the same problem.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Error in HomeBudget Example?
Next Topic: HttpClient Execute vs ExecuteRedirect
Goto Forum:
  


Current Time: Sat Nov 28 00:34:12 CET 2020

Total time taken to generate the page: 0.00778 seconds