🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by David.Detlefs Mon, 24 Jul 1989 22:33
union in extern "C" crashes cc1plus
#292
Author: David.Detlefs
Date: Mon, 24 Jul 1989 22:33
19 lines
797 bytes
Dear Gurus --

Using g++-1.35 on a vax, I found a bug that boiled down to the
following:

--------------------------------------------------
// Produces a segmentation violation in cc1plus.
extern "C" {
  union foo {
    int bar;
  };
}
--------------------------------------------------

Attempting to compile this file caused cc1plus to seg fault for me.

Enjoy...

Dave
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads