User forums > Using Code::Blocks

Traditional 'C'

<< < (5/5)

KenWhight:
I changed the upper case filenames to lower case and IT ALL WORKS! Thanks for your help CodeBlocks is much better than Visual C++, it's easier to set up a simple console project. I'm very happy with the change.
Ken

Miguel Gimenez:
Glad it worked.

The issue is because gcc.exe intentionally identifies files with .c extension as C sources and files with .C extension as C++, so the object generated for LINALG.C has all names mangled and cannot be linked with an unmangled object.

KenWhight:
Thanks for the explanation, I had assumed that C++ files were identified only by .cpp as in Visual C++. I'll close this topic in a few days if there are no more replies. Thanks again to all who contributed.
Ken

Navigation

[0] Message Index

[*] Previous page

Go to full version