Wireshark mailing list archives

Re: [Wireshark-commits] buildbot failure in Wireshark (development) on Windows-7-x64


From: Guy Harris <guy () alum mit edu>
Date: Sat, 16 Nov 2013 14:51:19 -0800


On Nov 16, 2013, at 2:12 PM, Jakub Zawadzki <darkjames-ws () darkjames pl> wrote:

Still it seems to be quite complicated ...

People must do this sort of thing - have DLLs that import stuff from other DLLs - often enough on Windows to make it 
not *that* painful, right?

We could, I guess, have separate ws_symbol_export.h and ws_symbol_import.h files, both of which reset the definitions 
of the macros in question, with the convention being that:

        source files that are part of programs include ws_symbol_import.h before including other header files;

        source files that are part of libraries:

                include ws_symbol_import.h;

                include all headers *except* for headers for the library to which they belong;

                include ws_symbol_export.h;

                include all headers for the library to which they belong.
___________________________________________________________________________
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: