Jump to content
Sign in to follow this  
thiemann

Boostc Linker: Var Not Found

Recommended Posts

Bug description:

If you compile and then link the following code, you will get a linker error.

 

Steps to reproduce:

1.) Create a new project

2.) Add a main.c file to the project with the following code

#include <system.h>

inline void test(char value);

void test(char value)
{ 
    char x = value;
}

void testfunc(char a)
{
    test(a);
}

void main()
{

}

 

3.) Compile and link the project using BoostC

4.) Notice the linker error message. ("Var not found")

5.) Note: if you delete the keyword "inline" and then recompile and link the project, you will receive no errors.

 

Expected behavior:

This code should not fail to link.

 

Is the problem 100% reproducible:

Yes

 

PicAntIDE version: PicAndIDE version

Compiler: BoostC

Compiler version: 1.3 Alpha

 

OS: Windows XP

 

Comments:

None

Share this post


Link to post
Share on other sites

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...