[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

RE: [CPROG] C och C++ blandat ??



On Fri, 28 Jul 2000, Joachim Holst (QCS) wrote:

> Hej igen !
> Det är tyvärr inte en *.moc.o som ger problemet. Har även provat 
> rebuild alld, configure, make clean fast i en vettigare ordning :-)
> Det är ld som inte hittar funktionen(funktionerna). Om det kan vara av intresse
> så kan jag skicka över de delar av koden som det handlar om.


Det kunne være, pgr. af navne mengeleringen, siden du benytter nogle C++
funktioner i noget C kode, dette kan afhjælpes med et extern "C" foran
funktions erklæringen i header filen.

exempel: 
extern "C" void minFunktion();

Dette vil sørge for, at det ikke bliver mengeleret til noget ukendeligt,
når C delen skal benytte det..

Kenneth

---[ e ]--------- -    - -      -          -
---[ "Cherish your wishes and your dreams, as they are
---[ the children of your soul and the blueprints of your
---[ ultimate achievement."
-          -      - -    - ------------[ http://www.redhead.dk ]---



 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:08 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *