#pragma inhibit push
- From: Owen Taylor <otaylor redhat com>
- To: orbit-list cuc edu
- Cc: michael helixcode com, gnome-components-list gnome org
- Subject: #pragma inhibit push
- Date: 08 Jul 2000 14:00:20 -0400
Some time ago, Michael Meeks asked me to include
-D__ORBIT_IDL__ when running libIDL to parse IDL files
from my Perl module, so that people could properly use
libIDL extensions protected by #ifdef.
It turns out, however, that this completely breaks using
the GNOME IDL files, because the extension people
are using is '#pragma inhibit push', in order to use
precompiled headers/stubs/skeletons from the libraries.
(GNORBA, Bonobo, etc.)
But the perl module can't use these precompiled things,
so inhibiting the compilations is highly improper.
For now, I've just removed the -D__ORBIT_IDL__, but
this is not a long term solution.
One or both of two things needs to be done:
1) A flag to libIDL when compiling that inhibits processing
of inhibits. (IDLF_DISABLE_INHIBIT?)
2) Separate preprocessor defines for:
- compiling with libIDL (-D__LIBIDL__?)
- compiling with the ORBit IDL compiler for C (-D__ORBIT_C__?)
Regards,
Owen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]