This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: jdwp build failure


Mohan Embar wrote:
Hi All,

Mohan> I haven't looked into this much, but if the Linux folks aren't
Mohan> having a problem with this, I'm suspecting a Win32 macro
Mohan> which is colliding with OUT. Just a guess, though.

It would be nice to know where this conflict comes from.
Sometimes a '#undef OUT' in win32.h can help...
But if we have to we can rename the field.

I had already tried that, but it didn't work.

Works for me if I put it in the header.


I just took a look at the preprocessed output without the undef:
  case JdwpConstants$StepDepth::OUT: becomes
  case JdwpConstants$StepDepth:::

while others like
  case JdwpConstants$StepDepth::StepDepth:

stay unchanged. What does that now mean? If "OUT" is used somewhere else already, what's the proper action to do? Rename our new "OUT"? Find the first "OUT"?


Marco



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]