Wireshark mailing list archives

Re: Trunk Windows CMake builds are broken


From: "Gisle Vanem" <gvanem () yahoo no>
Date: Thu, 21 Aug 2014 13:20:43 +0200

"Shanks, Graham (UK)" <graham.shanks () baesystems com> wrote:

A better solution would be to move the local config.h into a subdirectory and then use the following:

#include “subdir/config.h”

Since several dependent packages could have a config.h in it's ./include dir,
(shadowing for Wireshark's "config.h"), why not rename it and instead say:
 '#include <ws_config.h>'.

I have hit this problem trying to build other programs.

Compare this to e.g.:
 wsutil\ws_cpuid.h
 g:\mingw32\lib\gcc\mingw32\4.7.2\include\cpuid.h

--gv

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe

Current thread: