| www.delorie.com/archives/browse.cgi | search |
| Date: | Tue, 20 Jul 93 13:37:54 EDT |
| From: | peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock) |
| To: | gke AT moosehead DOT aero DOT org |
| Cc: | djgpp AT sun DOT soe DOT clarkson DOT edu |
| Subject: | compiler/assembler labels/symbols |
> and in my C program I have a prototype void my_label_here(void),
> the compiler generates a symbol _my_label_here__Fv and obviously
> I get a linker error. How do I get the symbols to match???
Sounds like you are writting C++, not C, otherwise the name should not be
mangled. Have you tried prototyping as:
extern "C" { void my_label_here(void); }
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |