[Top][All Lists]

[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 23:37:21 +0200
User-agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)


Erich Schubert wrote:
+#include "zipios++/zipfile.h"
+#include "zipios++/zipios-config.h.in"

The .in file should never ever be included.
If you build zipios you should however get a zipios-config.h file, that
is included in Debians zipios devel packages.

Still you shouldn't include it, because that may change in a different
the "zipfile.h" file already includes zipios-config.h

What is exactly the problem with zipfile.h?

"zipfile.h" as the central include file for all application access to zipios and the zipios sources themself contains the statement:

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

This statement is unnecessary and just for zipios internal convenience to avoid this statement in every zipios cpp-file.

But it causes double macro definition errors when "zipfile.h" is included in an applications source file that has to include the applications config.h, too!

Tacvek tried to use the "zipios++/zipios-config.h.in" as an undef for the false "zipios++/zipios-config.h" macro defs.

- Ronald

reply via email to

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