|
Post by rikky on Aug 17, 2019 5:52:59 GMT 1
Hello. I'm using BaCon version 3.9.1 I was not able to use the new WALK$ keyword. It gives me a compiler error. No matter what I try. Even if I just copy and past the examples. PRINT WALK$(".", 1, ".+", FALSE, NL$)
gives : Compiler error:
Description: file 'tmp.NbacdUVCsB.bac' line 1: PRINT WALK$(".", 1, ".+", FALSE, NL$) Cause: implicit declaration of function 'WALK$' [-Wimplicit-function-declaration]
hint: check for missing header file or library.
Command exited with status 2
Also, (just a sugestion) would it be an idea to add the value 0 to search for everything, files, folders, devices, pipes, links etc.? Thanks, Rik.
|
|
|
Post by Pjot on Aug 17, 2019 7:15:37 GMT 1
Hi rikky, The WALK$ function will appear in BaCon 3.9.2. So to use it, you have to fetch the latest beta. HTH Peter
|
|
|
Post by rikky on Aug 17, 2019 12:55:31 GMT 1
Aha, I see. Thanks, Rik.
|
|
pebau
Junior Member
Posts: 81
|
Post by pebau on Nov 22, 2019 10:57:54 GMT 1
Compile Error when using bacon beta 3.9.3 built from repo (21.11.2019):
PRINT WALK$(".", 1, ".+", FALSE, NL$)
Compiler error: Description: file 'walk1.bac' line 1: PRINT WALK$(".", 1, ".+", FALSE, NL$) Cause: implicit declaration of function 'WALK$'; did you mean 'TAB$'? [-Wimplicit-function-declaration]
hint: check for missing header file or library.
What am I doing wrong ? When I build from 3.9.2 build 3 stable it works. BR, Peter
|
|
|
Post by vovchik on Nov 22, 2019 12:47:00 GMT 1
Dear All,
I just compiled this:
PRINT WALK$(".", 1, ".+", FALSE, NL$)
using the latest beta from the repo and it works fine on Mint 19.2 64-bit.
With kind regards, vovchik
|
|
|
Post by Pjot on Nov 22, 2019 17:42:07 GMT 1
Dear pebau,
You may have linked against an older 'libbacon.a' which is somewhere in your linking path. An error like "implicit declaration of function 'WALK$'" indicates that the BaCon static library does not contain the function.
Best regards Peter
|
|
pebau
Junior Member
Posts: 81
|
Post by pebau on Nov 23, 2019 15:07:30 GMT 1
Hello, I built again 3.9.3 from repo and WALK$ just works now. Thank you
|
|