three questions

Jon Anderson ande1514 at tc.umn.edu
Tue Jun 1 15:11:14 BST 1999


 
  You need to declare the libraries as external.. i.e.

extern "C" {
  #include <lib.h>
}



On Wed, 02 Jun 1999, you wrote:
> hi,all:
> 
>      i have three  questions:
>      one is how can let gcc  link the lib generated by g++ and let g++ link the
> lib generated by gcc, when i use them, the linker tell me that the defernece
> was undefined!
>     the second is how can let the g++ can complie such  defined functions:
>    int  test(a,b)
>    int a,b;
>    {
>    .........
>    }
>    g++ can complie :
>    int test(int a,int b)
>   {
>      .......
>    }
>     
>    the lastone question is what is the ktranslator's using? 
>    thanks a lot
>    Suncle



More information about the KDevelop mailing list