public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39661] New: segmentation failed on correctly compiled mixed C and C++ code
@ 2009-04-06 12:12 pavel dot petrovic at gmail dot com
2009-04-06 12:28 ` [Bug c/39661] " pavel dot petrovic at gmail dot com
0 siblings, 1 reply; 2+ messages in thread
From: pavel dot petrovic at gmail dot com @ 2009-04-06 12:12 UTC (permalink / raw)
To: gcc-bugs
I understand C is low-level, but I'd love the compiler to refuse to compile or
link a mixed C and C++ code that is not mixed correctly.
The story is: parts of the program are implemented in C, parts are in C++. The
functions in C++ are made callable from C using the "__attribute__((stdcall))"
feature, i.e. these are C-type functions implemented in C++. The main program
is in C, and attempts to call these functions, which further call
--
Summary: segmentation failed on correctly compiled mixed C and
C++ code
Product: gcc
Version: 4.2.4
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: pavel dot petrovic at gmail dot com
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39661
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug c/39661] segmentation failed on correctly compiled mixed C and C++ code
2009-04-06 12:12 [Bug c/39661] New: segmentation failed on correctly compiled mixed C and C++ code pavel dot petrovic at gmail dot com
@ 2009-04-06 12:28 ` pavel dot petrovic at gmail dot com
0 siblings, 0 replies; 2+ messages in thread
From: pavel dot petrovic at gmail dot com @ 2009-04-06 12:28 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pavel dot petrovic at gmail dot com 2009-04-06 12:28 -------
*** This bug has been marked as a duplicate of 39662 ***
--
pavel dot petrovic at gmail dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
Summary|segmentation failed on |segmentation failed on
|correctly compiled mixed C |correctly compiled mixed C
|and C++ code |and C++ code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39661
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-06 12:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-06 12:12 [Bug c/39661] New: segmentation failed on correctly compiled mixed C and C++ code pavel dot petrovic at gmail dot com
2009-04-06 12:28 ` [Bug c/39661] " pavel dot petrovic at gmail dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).