CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Sun Feb 17, 2019 10:25 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Feb 06, 2019 6:44 pm 
Offline

Joined: Wed Dec 05, 2018 3:00 pm
Posts: 8
I have been copying some code into the 'Raspberry Pi SL' platform and ran smack into "C0077: Unknown type: 'NULL'" errors. How is this even possible? This same program (https://1drv.ms/f/s!AgeXD5P3kwJIg2tNBt0q05Y4lxuu) compiles on a standard platform without any problems.

I'd really appreciate some advice on this. Is there some compiler switch which enables recognition of NULLs?


Top
   
PostPosted: Thu Feb 07, 2019 3:15 pm 
Offline

Joined: Wed Dec 05, 2018 3:00 pm
Posts: 8
Did a little more work porting the eFFL Fuzzy Logic library to the RPi platform. By copy/pasting everything individually into the new platform, i found that the compiler had no trouble with NULLs. Everything seemed cool - right up to the moment i switched on the "Use dynamic memory allocation" (see attached pic). Suddenly, NULL is no longer recognized. Is this a compiler bug?

I am adding a link here to the project file (RPi_Fuzzy_eFFL_000 (Unknown type NULL).project) in case anybody is curious. --> https://1drv.ms/f/s!AgeXD5P3kwJIg2tNBt0q05Y4lxuu

The intent here is to provide an open source Fuzzy Logic controller for the IEC 61131-3 (CODESYS) ST language. If I/we can get past this NULL issue then the controller is free to incorporate into the RPi, as it is the Standard platform (see LICENSE).

Any ideas appreciated


You do not have the required permissions to view the files attached to this post.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited