enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Possible way to remove file_zip.cc


From: Ronald Lamprecht
Subject: Re: [Enigma-devel] Possible way to remove file_zip.cc
Date: Mon, 17 Apr 2006 17:10:47 +0200
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)

Hi,

Tacvek wrote:
Bellow is an example of a way to elimate file_zip.cc

I really like to get rid of this artifical workaround file.

Baically the header conflicts are resolved by including
zipios-config.h.in
...
===================================================================
--- file.cc (revision 122)
+++ file.cc (working copy)
@@ -23,6 +23,8 @@

#include "ecl_system.hh"

+#include "zipios++/zipfile.h"
+#include "zipios++/zipios-config.h.in"
#include "config.h"

Indeed this fixes the maldesigned zipfile.h, but introduces a critical
dependency. We would need to check that

1) "zipios++/zipios-config.h.in" is distributed or can be regenerated
with each source code distribution.

2) distributions that make use of an existing zipios version (f.e.
Debian) do not run into trouble.

Erich, Daniel - what do you think of Tacveks proposal?

- Ronald





reply via email to

[Prev in Thread] Current Thread [Next in Thread]