Open susobhsugathan opened 2 years ago
Hi, currently there isn't an option in the GUI for this. You could have a look in fglcm.4gl in the function "buildCompileCmd" (which does add the -Wall flag) and change it to your likes, see attached patch. HTH, Leo
Am 8/30/22 um 08:42 schrieb susobhsugathan @.***>:
Hi,
When editing a file which has IMPORT FGL xyz, then the editor will not show any warning when CALL a function inside the imported module.
But When we have multiple modules being linked through Makefile, the CodeEditor whows a warning that the function is not found.
Is there any way we can overcome this?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
Diff seems not to transmitted, here just the plain text of the diff
diff --git a/fglcm.4gl b/fglcm.4gl index e7df5b5..f4fa7a9 100644 --- a/fglcm.4gl +++ b/fglcm.4gl @@ -1668,11 +1668,11 @@ PRIVATE FUNCTION buildCompileCmd(dirname, compOrForm, cparam, fname) --we cd into the directory of the source IF file_on_windows() THEN LET cmd =
Am 8/30/22 um 08:42 schrieb susobhsugathan @.***>:
Hi,
When editing a file which has IMPORT FGL xyz, then the editor will not show any warning when CALL a function inside the imported module.
But When we have multiple modules being linked through Makefile, the CodeEditor whows a warning that the function is not found.
Is there any way we can overcome this?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
Hi,
the above flag '-W-implicit' doesnt seem to work. Tried by compiling manually. I have tried some combinations, doesn't seem to work for my case.
Everytime it does show warning that many functions not defined, but the function exist in a different module which is linked via Makefile.
Sorry , my fault , to switch off a compiler warning -Wno-
Regards, Leo
Am 8/30/22 um 11:49 schrieb susobhsugathan @.***>:
Hi,
the above flag '-W-implicit' doesnt seem to work. Tried by compiling manually. I have tried some combinations, doesn't seem to work for my case.
Everytime it does show warning that many functions not defined, but the function exist in a different module which is linked via Makefile.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.
Hi,
When editing a file which has IMPORT FGL xyz, then the editor will not show any warning when CALL a function inside the imported module.
But When we have multiple modules being linked through Makefile, the CodeEditor whows a warning that the function is not found.
Is there any way we can overcome this?
In the above screenshot, the warnings : the functions exist in a different 4gl file, and the module linking is done via Makefile.