Re: FW: Mixing C/C++ code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Nov 30, 2007 4:12 AM, Robert Wong <rgwong@xxxxxxxxxxx> wrote:
> I'm a CS student working on a project that mixes C/C++ compiling both with
> g++. If you have the time I was hoping you could help. I've described the
> problem with some depth here:
>
> http://forums.devshed.com/c-programming-42/calling-c-function-from-c-492886.
> html

Try a return after your printf in the test function.  It's possible
your pointer into that function is somehow uninitialized and causing
memory access problems.

-Tom

Tom Browder
Niceville, Florida
USA

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux