Re: dar cvs compile fails with gcc-3.2.2

Denis Corbin <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.general
Message-ID <[email protected]>
Johnathan Burchill wrote:
 > Hi folks,

Hello,

 >
 > I am interested in making a qt frontend to dar. Obviously it will be 
more
 > efficient using the library, rather than calling the command-line
 > versions. Is anyone working on this?

Yes, the API is still under development, and mainly documentation, I 
suggest waiting one or two months again for next release. But, you can 
already use it, dar already does, it should not change much now. For the 
API library a few things remain :
- finishing documentation,
- testing that all the necessary is provided for external programs in 
the installed header files,
- maybe add a set of macro or a new set of function to have all thrown 
exception tranformed in error code (mainly for pure C users).

I'm interested in your feedback about the API, by the way. :-) what you 
have found that is missing, improved etc. (over what is planed to be 
done but not yet done).

 >
 > Running gcc-3.2.2 I get compile errors in libdar.
 > The problem seems to be with the answer_callback code:
 > cannot pass objects of non-POD type `struct
 > shows up on lines with "user_interaction_warning".

I actually do testing and development with gcc-2.95.3, which is 
two-three years old now. In the things to do before releasing, there is 
also to make the whole thing compiling with more recent gcc, like 3.3.1.

 >
 > I don't understand the parse errors before '&' token either.

I've installed gcc-3.3.1 yesterday as second C++ compiler and also got 
this message as well as some other error still concerning string class, 
as if the compiler saw that string "a non-POD type" was passed to "...", 
but no "..." was in the argument or the faulty function (???). I don't 
understand neither, and I must dig for this. But I will first finish the 
implementation of the few TODO things left for version 2.0.0

 >
 > Any ideas?

a solution, I suggest for now, is using older compiler like gcc-3.0.4 
which should allow you to compile (I remember having tested it with dar 
version 1.3.0).

 >
 > Cheers,
 > Johnathan
 >
 >[...]


Regards,
Denis.



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.