As all of You do know, I did (since years) always complain about the
compiler messages of NetRexx
when compiling multiple programs. Here is an example: NetRexx portable processor 3.03 NetRexx '3.03', build 61-20140611-2330 Copyright (c) RexxLA, 2011,2014. All rights reserved. Parts Copyright (c) IBM Corporation, 1995,2008. Program Analyser.nrx === class com.thsitc.pp.Analyser === constructor Analyser() overrides Object() constructor Analyser(Rexx) method InitExecutionStack method InitAnalyser method ExecAnalyser method FinishAnalyser signals Throwable method CodeAnalysis method AnalyseMainProgram constructor Analyser(Rexx,Rexx,int,int,Rexx,int,int) method AnalyseFuncRef(Rexx,Rexx,Rexx) method AnalyseFuncDef(int,Rexx,int) method AnalyseTemplate(Rexx) method AnalyseParmList(Rexx) method AnalyseArgument_types(Rexx,Rexx,int) method AnalyseAssignment(Rexx,Rexx,Rexx) method AnalyseMethods method AnalyseLabels method ExecAnalyserbuild(Rexx) signals FileNotFoundException method AnalyseFile(Rexx) method StartAnalyser method AnalyseCodeInstruction(Rexx) Program BuildMetrics.nrx 10 +++ import com.thsitc.pp.rexx.inrexx. -- and generalized Scanner +++ ^^^ +++ Warning: No classes found for import from package 'com.thsitc.pp.rexx.inrexx.' === class com.thsitc.pp.BuildMetrics === constructor BuildMetrics() overrides Metrics() constructor BuildMetrics(Rexx) 22 +++ o_scan=Scan(xfile,xlang) +++ ^^^^ +++ Error: The method 'Scan(netrexx.lang.Rexx,netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.BuildMetrics' or a superclass Program Coder.nrx 9 +++ import com.thsitc.pp.rexx.inrexx. +++ ^^^ +++ Warning: No classes found for import from package 'com.thsitc.pp.rexx.inrexx.' === class com.thsitc.pp.Coder === method CodeFile(Rexx,Rexx) 16 +++ o_scan=Scan(xfile,xlang) +++ ^^^^ +++ Error: The method 'Scan(netrexx.lang.Rexx,netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Coder' or a superclass Program Compiler.nrx === class com.thsitc.pp.Compiler === constructor com.thsitc.pp.Compiler(Rexx) overrides Object() Program Converter.nrx === class com.thsitc.pp.Converter === constructor Converter(Rexx) overrides Object() method finalize signals Throwable overrides Object.finalize method ExecConverter method ConvertDecls method AnalyseTemplate(Rexx) method AnalyseParmList(Rexx) method SetNumberClass(Rexx) method SourceRange(Rexx) method FinalTypeCheck method RememberOrder(Rexx) method FinishConverter signals Throwable method EliminateUnusedCode 466 +++ parse xcode n9 ':' a9 p9 ':' +++ ^^ +++ Warning: Variable is set but not used method method_reference(Rexx) 491 +++ func_type = Items.item_type[ii_fun] +++ ^^^^^^^^^ +++ Warning: Variable is set but not used 490 +++ func_no = Functions.FunctionNo(func_name) +++ ^^^^^^^ +++ Warning: Variable is set but not used method ChangeArgRef(int) method FixedStream(Rexx) 882 +++ f_type = Items.item_type[y1] +++ ^^^^^^ +++ Warning: Variable is set but not used 977 +++ dynamic_streams = 1 +++ ^^^^^^^^^^^^^^^ +++ Warning: Variable is set but not used 906 +++ c_class = Items.item_class[y3] +++ ^^^^^^^ +++ Warning: Variable is set but not used 897 +++ o_class = Items.item_class[y2] +++ ^^^^^^^ +++ Warning: Variable is set but not used 883 +++ f_class = Items.item_class[y1] +++ ^^^^^^^ +++ Warning: Variable is set but not used method ThisFD(Rexx) method GenerateFD(Rexx) method GenerateConstantFD(Rexx) method RexxObject(Rexx) 31 +++ ii2_list=Rexx '' /* must be Rexx for used methods */ +++ ^^^^^^^^ +++ Warning: Private property is defined but not used Program CrossReferencer.nrx 8 +++ import com.thsitc.pp.rexx.inrexx. -- needed for Scan +++ ^^^ +++ Warning: No classes found for import from package 'com.thsitc.pp.rexx.inrexx.' === class com.thsitc.pp.CrossReferencer === constructor CrossReferencer() overrides Object() constructor CrossReferencer(Rexx) method CrossReference(Rexx) 34 +++ o_scan=Scan(xfile,xlang) +++ ^^^^ +++ Error: The method 'Scan(netrexx.lang.Rexx,netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.CrossReferencer' or a superclass Program Declarer.nrx 12 +++ import com.thsitc.pp.rexx.inrexx. +++ ^^^ +++ Warning: No classes found for import from package 'com.thsitc.pp.rexx.inrexx.' 14 +++ class Declarer Extends InObjects uses RexxMsg, RexxTime-- does now extend Object! +++ ^^^^^^^^^ +++ Error: The class 'InObjects' cannot be found Program Documenter.nrx 7 +++ import com.thsitc.pp.rexx.inrexx. -- needed for Scan +++ ^^^ +++ Warning: No classes found for import from package 'com.thsitc.pp.rexx.inrexx.' === class com.thsitc.pp.Documenter === constructor Documenter() overrides Object() constructor Documenter(Rexx) method document(Rexx) 29 +++ o_scan=Scan(xfile,xlang) +++ ^^^^ +++ Error: The method 'Scan(netrexx.lang.Rexx,netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Documenter' or a superclass Program environtest.nrx === class environtest === function maGetEnumerated(String[]) function badabing function badaboom function flambam(String) function bondukey(String) Program Executer.nrx === class com.thsitc.pp.Executer === constructor Executer(Rexx,Rexx) method exec(Rexx,Rexx) Program Generator.nrx === class com.thsitc.pp.Generator === method GenerateNetRexxDataObjects(Rexx) method GenerateNetRexxDataObject(Rexx) 45 +++ GenerateDeclarationsComment_box('NetRexx Data Object for:' file_name) +++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarationsComment_box(netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 47 +++ GenerateDeclarations('package' package) +++ ^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarations(netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 48 +++ GenerateDeclarations('import org.netrexx.thsitc.runtime.compatibility.') +++ ^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarations(java.lang.String)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 33 +++ file_path=RexxFile.FilePath(xfile) +++ ^^^^^^^^^ +++ Warning: Variable is set but not used method GenerateClass(Rexx) 61 +++ this.GenerateDeclarations('class' class_name 'uses ReyBytes, ReyBits') +++ ^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarations(netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 62 +++ this.GenerateDeclarations('properties inheritable indirect') +++ ^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarations(java.lang.String)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 75 +++ this.GenerateDeclarationsComment('Level:' item_level[ii] ThisItem(ii)) +++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarationsComment(netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 90 +++ this.GenerateDeclarations(' ') +++ ^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarations(char)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass method GenerateGetterAndSetterMethods 101 +++ GenerateDeclarationsComment_box('Setter and Getter Methods') +++ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarationsComment_box(java.lang.String)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 143 +++ GenerateDeclarations(' ') +++ ^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarations(char)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass 110 +++ note=item_note[ii] +++ ^^^^ +++ Warning: Variable is set but not used 109 +++ value=NetRexxValue(ii) +++ ^^^^^ +++ Warning: Variable is set but not used method GeneratePackComponents(int) 158 +++ this.GenerateComment('Pack Components of:' struct_name) +++ ^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateComment(netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass method GenerateUnpackComponents(Rexx) 191 +++ this.GenerateComment('UnPack Components of:' struct_name) +++ ^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateComment(netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass method GenerateDeclarations(Rexx,Rexx,Rexx,Rexx) 222 +++ this.GenerateDeclarations(xdecl) +++ ^^^^^^^^^^^^^^^^^^^^ +++ Error: The method 'GenerateDeclarations(netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Generator' or a superclass Program Normalizer.nrx === class com.thsitc.pp.Normalizer === constructor Normalizer() overrides Object() constructor Normalizer(Rexx) method NormalizeDecl method NormalizeCode Program Parser.nrx 18 +++ import com.thsitc.pp.rexx.inrexx. +++ ^^^ +++ Warning: No classes found for import from package 'com.thsitc.pp.rexx.inrexx.' === class com.thsitc.pp.Parser === method ParseFile(Rexx,Rexx) 25 +++ o_scan=Scan(xfile,xlang) +++ ^^^^ +++ Error: The method 'Scan(netrexx.lang.Rexx,netrexx.lang.Rexx)' cannot be found in class 'com.thsitc.pp.Parser' or a superclass Program PP.nrx === class com.thsitc.pp.PP === constructor PP() overrides Object() method ProcessOneFile(Rexx) 71 +++ o_parser=Parser() +++ ^^^^^^ +++ Error: Class reference is ambiguous (more than one class matches 'Parser') Program Renamer.nrx === class com.thsitc.pp.Renamer === method DoRenames method InRenames(Rexx) method ExecRenames(int,int) method ChangeInvalidName(Rexx) method RenameItem(Rexx,Rexx) method RenameLocalVars method RenameLocalFunctions method MakeNamesUnique method RenameOoRexxNotations method CreateNewName(Rexx) Program Reporter.nrx 18 +++ options biaary +++ ^^^^^^ +++ Warning: Unknown program option 'biaary' ignored === class com.thsitc.pp.Reporter === method DisplayMaps method DisplaySourceMap method DisplayDecoded method DisplayExternals method DisplayFunctionMap method DisplayLabels method DisplayLabelMap method DisplayUndefinedLabels method DisplayLabelProperties method DisplayMethodMap method DisplayClassMap method DisplayUsage Program Resolver.nrx === class com.thsitc.pp.Resolver === constructor Resolver() overrides Object() constructor Resolver(Rexx) method ResolveUnknownRoutines method ResolveExternals method CorrectScopes method UsePublicProperties(Rexx) method ResolveRunTimeRoutines Program Translator.nrx === class com.thsitc.pp.Translator === constructor Translator(Rexx) overrides Object() Program work.nrx function subscript(Rexx) Compilation of 'Analyser.nrx' successful Compilation of 'BuildMetrics.nrx' failed [one error, one warning] Compilation of 'Coder.nrx' failed [one error, one warning] Compilation of 'Compiler.nrx' successful Compilation of 'Converter.nrx' successful [9 warnings] Compilation of 'CrossReferencer.nrx' failed [one error, one warning] Compilation of 'Declarer.nrx' failed [one error, one warning] Compilation of 'Documenter.nrx' failed [one error, one warning] Compilation of 'environtest.nrx' successful Compilation of 'Executer.nrx' successful Compilation of 'Generator.nrx' failed [12 errors, 3 warnings] Compilation of 'Normalizer.nrx' successful Compilation of 'Parser.nrx' failed [one error, one warning] Compilation of 'PP.nrx' failed [one error] Compilation of 'Renamer.nrx' successful Compilation of 'Reporter.nrx' successful [one warning] Compilation of 'Resolver.nrx' successful Compilation of 'Translator.nrx' successful Compilation of 'work.nrx' successful The (my only?) problem is, that the NetRexx Compiler does report some compilations as successful, but it *does NOT* compile those programs. EOS (End of statement). _______________________________________________ Ibm-netrexx mailing list [hidden email] Online Archive : http://ibm-netrexx.215625.n3.nabble.com/
Thomas Schneider, Vienna, Austria (Europe) :-)
www.thsitc.com www.db-123.com |
Free forum by Nabble | Edit this page |