Jump to content
Sign in to follow this  
Guest Pavel

PicAntIDE 5.2.2 is ready

Recommended Posts

Guest Pavel

New PicAntIDE version 5.2.2 has been released. What's new:

- Build command now uses make to build the project;

- Fixed memory map for PIC16F819;

- Fixed variuos project wizard bugs;

- Fixed compiler msinterpretation of '\0'

 

Please review the assembly command line in your existing projects and remove the %name%.asm or %shortname%.asm names from it. Ide will append correct assembly file names automagically.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

1. The build command doesn't notice if options has changed.

Atleast it doesn't notice optimization changes.

 

2. I had one function in a header file. Now I had to split the actual function to a .c file while the function call defination is in the header file.

 

3. Any news about the C++ bugs?

Share this post


Link to post
Share on other sites
Guest Pavel
1. The build command doesn't notice if options has changed.

Atleast it doesn't notice optimization changes.

I will fix this in the next release.

2. I had one function in a header file. Now I had to split the actual function to a .c file while the function call defination is in the header file.

Sorry I don't understand this. What is the problem?

3. Any news about the C++ bugs?

Which bugs are you referring to?

 

Regards,

Pavel

Share this post


Link to post
Share on other sites
2. Sorry I don't understand this. What is the problem?

 

I had one function previously in a file named misc.h. With the new compiler it started to say this:

misc.h(5): The function 'tulkki' is already defined

 

I solved the error by splitting the function body and the header to two different files (misc.h and misc.c).

 

3. Which bugs are you referring to?

 

Atleast to the loop bugs. Also to the pointter bug I emailed to you. I also think that the compiler crashes if class methods are defined directly in the class, like this:

 

class TEST
{
   TEST()
   {
   }
};

 

There might be also odd problems when the user defined constructor method is missing.

Share this post


Link to post
Share on other sites
Guest Pavel
I also think that the compiler crashes if class methods are defined directly in the class, like this:

 

class TEST
{
   TEST()
   {
   }
};

This crash has been fixed too.

 

Regards,

Pavel

Share this post


Link to post
Share on other sites

It has?

 

How do you then explain this compiler output:

 

Compiling...

 

C:\PROGRA~1\PicAnt\c2cpp.exe -PPIC16F877 -SRC -ols -md -O2 -W1 -Ip16F877.inc -okoe.asm  koe.cpp

 

C2C++ 5.2.2e C/C++ compiler  Copyright© 1998-99,2000-2003 by Pavel Baranov

support@picant.com

(Extended version)

 

Licensed to: Antti Toivanen

 

 

koe.cpp

koe.cpp(8): 'TEST' is not a member of 'TEST'

koe.cpp(9): Identifier expected

 

Finished.

Done

 

Failed

 

With this code:

 

#include <system.h>

class TEST
{
  char Test;
       
  TEST()
  {
        Test=0;
  }
};

main()
{
  TEST Testing;
  
  while(1);
}

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...