Project

General

Profile

Bug #1074

Searching for included files which are not in use when transpiling. (Windows/Mac).

Added by malcolm harvey over 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
01/17/2023
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

It seams quite at random this can happen, more often than not, if you put a folder under your application, eg: in this case, for example, I put an include folder in there which was not there before, with .aoz files and .aozinc files in it, and you then click to preview it, in the viewer, it can randomly bring up 70 messages say or more when transpile complete, searching yellow files looking for your code instructions or labels with gosub routines under them, even though I have not even included any of the .aoz or .aozinc file in my code. ie: I have not specified to include them at all, it just for whatever searches them regardless and brings up warnings in the message window.
You can see from the screenshots, that the first one transpiled ok which did not have the included folder in it and executed and ran the preview window ok, and no errors in the message pane.
The second screenshot, transpiled and executed the viewer as well, but you can see it contained many yellow error messages in the message pane.
It goes of looking in these files below. See all my notes on discord below. Happens on windows and mac in U38 currently.
It can cause alot of the time the transpiler to abort the run or stop prematurely).
(amiga.aoz,bobs.aoz,colours.aoz,dialogs.aoz,filesystem.aoz,keyboard_and_mouse.aoz,menus.aoz,rexx.aoz,speech.aoz,system.aoz,tracker.aoz). See my other notes on this previously in discord for more infomation on all this and other screenshots etc.
..
Something that did not happen at all, previous version of aoz when transpiling.
.
https://discord.com/channels/653893653940404224/707482106313441350/1063207610494500894
and
https://discord.com/channels/653893653940404224/707482106313441350/1059255263053488149
..
2) I found out as well why also the viewer does not work at times in (Amiga mode) on windows.
It is because of the trackker.xm files now or possibly and as well music.wav files now sitting in assets folder, again not being used in the actual code, but the fact that they are sitting there, caused it to just again bring up a blank message window after transpile if using the viewer only and not execute and run.
..
Also the same on the Mac(Amiga mode) would not run because of simply other files sitting in folders again filesystem/application or assets. (.aoz and .aozinc files sitting in an include folder).
As soon as I removed these other folders I had in there it transpiled and open the viewer ok as well.
.
So it seams the transpiler on windows and mac is looking at all files in all subfolders now regardless, in the root of your application and also in the assets and filesystem/application folder and whatever other files might be in there or in its subfolders, and if it finds a file in there not in your code, ramdonly, (im envisioning is all I can think its doing), it goes searching internally in aoz files or whatever other files the transpiler looks in when its working and if not found it just aborts and stops with a blank message pane.


Files

Also available in: Atom PDF