![]() |
FASTCALL warnings - Printable Version +- Forum (https://www.boriel.com/forum) +-- Forum: Compilers and Computer Languages (https://www.boriel.com/forum/forumdisplay.php?fid=12) +--- Forum: ZX Basic Compiler (https://www.boriel.com/forum/forumdisplay.php?fid=11) +---- Forum: Wishlist (https://www.boriel.com/forum/forumdisplay.php?fid=14) +---- Thread: FASTCALL warnings (/showthread.php?tid=476) |
FASTCALL warnings - einar - 07-19-2012 Hi, Whenever compiling any ZX BASIC program that uses the latest BIFROST* interface library, it will always produce the following warnings: Code: bifrost.bas:92: warning: FUNCTION 'BIFROSTfindAttr' declared as FASTCALL with 2 parameters I suggest a new directive to allow ignoring such warnings inside an specific library. The idea is that a library file could use something like this: Code: #pragma push(fastcall_warning) Re: FASTCALL warnings - boriel - 07-19-2012 Definitely! In fact, I'm implementing some enable/disable Warning flags (such as "Unused function", which is very handy for libraries, or this one). They're on the way! ![]() Re: FASTCALL warnings - einar - 07-19-2012 boriel Wrote:Definitely! In fact, I'm implementing some enable/disable Warning flags (such as "Unused function", which is very handy for libraries, or this one).Thank you! Re: FASTCALL warnings - einar - 08-15-2013 I could not find any information in ZX BASIC wiki about warning flags or pragma directives... so I'm wondering if this feature has been implemented already? Re: FASTCALL warnings - boriel - 08-15-2013 einar Wrote:I could not find any information in ZX BASIC wiki about warning flags or pragma directives... so I'm wondering if this feature has been implemented already?Sorry, I'm afraid not. :oops: I stopped any further development on version 1.x. Also I'm currently on vacation :roll: Re: FASTCALL warnings - einar - 08-16-2013 No problem, thanks for the reply. Enjoy your vacation! ![]() Re: FASTCALL warnings - boriel - 01-30-2014 Einar, hope you're still alive :| Now that ZX BASIC 1.4 is out, I think we can start adding this feature. :wink: Re: FASTCALL warnings - einar - 02-12-2014 boriel Wrote:Now that ZX BASIC 1.4 is out, I think we can start adding this feature. :wink: Excellent! |