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 » Developing U++ » UppHub » Added SVN Library
Re: Added SVN Library [message #16491 is a reply to message #16490] Wed, 18 June 2008 00:32 Go to previous messageGo to previous message
mdelfede is currently offline  mdelfede
Messages: 1307
Registered: September 2007
Ultimate Contributor
Oblivion wrote on Tue, 17 June 2008 22:13

Great job!.

SvnLib compiles successfully on MinGW, but it fails to compile on MSVC9.0 with the following error:

Quote:


----- CtrlLib ( GUI MSC9 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (1 / 11)
----- SvnLib ( GUI MSC9 DEBUG DEBUG_FULL BLITZ WIN32 MSC ) (2 / 11)
SvnLib.cpp
c:\myapps\svnlib\svnlib.cpp(867) : error C4716: 'Upp::Svn::UpdateInfo' : must return a value
SvnLib: 1 file(s) built in (0:05.68), 5687 msecs / file, duration = 5703 msecs

There were errors. (0:05.84)



In SvnLib.cpp,

// updates info from current repository
Svn::Errors Svn::UpdateInfo(void)
{

} // END Svn::UpdateInfo()


Should return an error code. I'm suprised that the ever-complaining MinGW did not give any errors, not even a warning. Laughing


Well, well... It's not complete ! Smile
I'd like to know if demo app works on windows too, by now... Just tested on Linux Smile
I still must extend the class to manage tags/branches in some easy way, as other important stuffs.
By now the demo just allow to connect to upp (small part) of svn repo and do checkout/logs on it... If all is ok, I'll continue it.
BTW, for the error above, just add
return Svn::Ok;

to function, it's just a stub by now.

Thanx for testing !

Max

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: quicktabs vs tabbar
Next Topic: Shiny: C++ profiler - Ultimate++ package
Goto Forum:
  


Current Time: Wed May 15 15:57:17 CEST 2024

Total time taken to generate the page: 0.02541 seconds