Re: Directory masks -- howto?

Johnathan Burchill <[email protected]>
Newsgroups gmane.comp.sysutils.backup.dar.general
Organization Department of Physics and Astronomy, University of Calgary
Message-ID <[email protected]>
On October 16, 2003 03:56 pm, Denis Corbin wrote:

[...]
> > Now this never gets printed when I do not continue writing the
> > archive. The only output is "Aborted".
>
> strange, it worked for me, I got the following output:
>
> Basic program working
> About to create the archive. Do you wish to continue?n
> You did the right thing.
> About to create the archive. Do you wish to continue?
>
> "abort" let me think the program did not caught the exception, and thus
> escaped from the main() function, which aborted the program. Which
> compilation command do you use to build the executable ?

I used:

g++ -DHAVE_CONFIG_H -fexceptions -ldar64 -DMODE=64 -I./dar/src/libdar -o 
dar-test-create dar-test-create.cpp


But,  I just tried compiling a static version, and the exception was 
caught! Does it make sense to you that exceptions would not work on a 
dynamically-linked executable? Perhaps I'm missing a key option to g++...

[...]

JB
-- 
Johnathan K. Burchill, Ph.D.
Department of Physics and Astronomy
University of Calgary
2500 University Drive N.W.
Calgary, AB T2N 1N4
Canada

(403) 217-4286
[email protected]



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
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.