Archived

This forum has been archived. Please start a new discussion on GitHub.

Slice test fails

The test test/Slice/errorDetection reported:
CaseInsensitive.ice... failed!

This was on Suse 8.1 using gcc 3.2.

-Andrew M.

Comments

  • Try running "slice2cpp CaseInsensitive.ice" by hand. What is the output? The expected output is in CaseInsensitive.err.
  • Originally posted by marc
    Try running "slice2cpp CaseInsensitive.ice" by hand. What is the output? The expected output is in CaseInsensitive.err.

    The output is rather long:

    errorDetection/CaseInsensitive.ice:17: redefinition of operation `op' as operation `op'
    errorDetection/CaseInsensitive.ice:22: operation `oP' differs only in capitalization from operation `op'
    errorDetection/CaseInsensitive.ice:22: redefinition of operation `op' as operation `oP'
    errorDetection/CaseInsensitive.ice:27: redefinition of data member `l' as operation `l'
    errorDetection/CaseInsensitive.ice:32: operation `L' differs only in capitalization from data member `l'
    errorDetection/CaseInsensitive.ice:32: redefinition of data member `l' as operation `L'
    errorDetection/CaseInsensitive.ice:37: module `M1' is capitalized inconsistently with its previous name: `m1'
    errorDetection/CaseInsensitive.ice:37: `M1' has changed meaning
    errorDetection/CaseInsensitive.ice:38: redefinition of class `c1' as module
    errorDetection/CaseInsensitive.ice:39: module `C1' differs only in capitalization from class name `c1'
    errorDetection/CaseInsensitive.ice:39: `C1' has changed meaning
    errorDetection/CaseInsensitive.ice:42: redefinition of parameter `aa'
    errorDetection/CaseInsensitive.ice:43: parameter `BB' differs only in capitalization from parameter `bb'
    errorDetection/CaseInsensitive.ice:43: `BB' has changed meaning
    errorDetection/CaseInsensitive.ice:47: operation `I4' differs only in capitalization from enclosing interface name `i4'
    errorDetection/CaseInsensitive.ice:51: interface name `i5' cannot be used as operation name
    errorDetection/CaseInsensitive.ice:59: operation `op' is already defined as an operation in a base interface or class
    errorDetection/CaseInsensitive.ice:63: operation `OP' differs only in capitalization from operation `op', which is defined in a base interface or class
    errorDetection/CaseInsensitive.ice:71: operation `l' is already defined as a data member in a base interface or class
    errorDetection/CaseInsensitive.ice:75: operation `L' differs only in capitalization from data member `l', which is defined in a base interface or class
    errorDetection/CaseInsensitive.ice:80: operation `L' differs only in capitalization from data member `l'
    errorDetection/CaseInsensitive.ice:80: redefinition of data member `l' as operation `L'
    errorDetection/CaseInsensitive.ice:84: data member `l' is already defined as a data member in a base interface or class
    errorDetection/CaseInsensitive.ice:88: data member `L' differs only in capitalization from data member `l', which is defined in a base interface or class
    errorDetection/CaseInsensitive.ice:93: data member `l' differs only in capitalization from operation `L'
    errorDetection/CaseInsensitive.ice:93: `l' has changed meaning
    errorDetection/CaseInsensitive.ice:98: redefinition of exception member `l'
    errorDetection/CaseInsensitive.ice:103: exception member `L' differs only in capitalization from exception member `l'
    errorDetection/CaseInsensitive.ice:103: `L' has changed meaning
    errorDetection/CaseInsensitive.ice:107: exception name `e3' cannot be used as exception member name
    errorDetection/CaseInsensitive.ice:111: exception member `E4' differs only in capitalization from enclosing exception name `e4'
    errorDetection/CaseInsensitive.ice:119: exception member `l' is already defined in a base exception
    errorDetection/CaseInsensitive.ice:123: exception member `L' differs only in capitalization from exception member `l', which is defined in a base exception
    errorDetection/CaseInsensitive.ice:128: redefinition of struct member `l'
    errorDetection/CaseInsensitive.ice:133: member `L' differs only in capitalization from member `l'
    errorDetection/CaseInsensitive.ice:133: `L' has changed meaning
    errorDetection/CaseInsensitive.ice:137: struct name `s3' cannot be used as member name
    errorDetection/CaseInsensitive.ice:142: struct member `S4' differs only in capitalization from enclosing struct name `s4'
    errorDetection/CaseInsensitive.ice:147: sequence `LS' differs only in capitalization from sequence `ls'
    errorDetection/CaseInsensitive.ice:148: redefinition of module `m1' as sequence
    errorDetection/CaseInsensitive.ice:149: sequence `M1' differs only in capitalization from module `m1'
    errorDetection/CaseInsensitive.ice:152: dictionary `D' differs only in capitalization from dictionary `d'
    errorDetection/CaseInsensitive.ice:153: redefinition of module `m1' as dictionary
    errorDetection/CaseInsensitive.ice:154: dictionary `M1' differs only in capitalization from module `m1'
    errorDetection/CaseInsensitive.ice:157: enumeration `eN1' differs only in capitalization from enumeration `en1'
    errorDetection/CaseInsensitive.ice:157: `eN1' has changed meaning
    errorDetection/CaseInsensitive.ice:158: redefinition of module `m1' as enumeration
    errorDetection/CaseInsensitive.ice:159: enumeration `M1' differs only in capitalization from module `m1'
    errorDetection/CaseInsensitive.ice:159: `M1' has changed meaning
    errorDetection/CaseInsensitive.ice:161: redefinition of enumeration `en1' as enumerator
    errorDetection/CaseInsensitive.ice:162: enumerator `EN1' differs only in capitalization from enumeration `en1'
    errorDetection/CaseInsensitive.ice:163: redefinition of module `m1' as enumerator
    errorDetection/CaseInsensitive.ice:164: enumerator `M1' differs only in capitalization from module `m1'
    errorDetection/CaseInsensitive.ice:176: interface name `base' is capitalized inconsistently with its previous name: `::xxx::xx::Base'
    errorDetection/CaseInsensitive.ice:176: redefinition of interface `Derived'
    errorDetection/CaseInsensitive.ice:180: exception name `E1' is capitalized inconsistently with its previous name: `::xxx::xx::e1'
    errorDetection/CaseInsensitive.ice:184: sequence name `S1' is capitalized inconsistently with its previous name: `::xxx::xx::s1'
    errorDetection/CaseInsensitive.ice:185: sequence name `xxx::xx::S1' is capitalized inconsistently with its previous name: `::xxx::xx::s1'
    errorDetection/CaseInsensitive.ice:186: sequence name `xxx::XX::s1' is capitalized inconsistently with its previous name: `::xxx::xx::s1'
    errorDetection/CaseInsensitive.ice:187: sequence name `xxx::XX::s1' is capitalized inconsistently with its previous name: `::xxx::xx::s1'
    errorDetection/CaseInsensitive.ice:192: interface name `derived' is capitalized inconsistently with its previous name: `::xxx::xx::Derived'
    errorDetection/CaseInsensitive.ice:200: parameter `Param' differs only in capitalization from parameter `param'
    errorDetection/CaseInsensitive.ice:200: `Param' has changed meaning
    errorDetection/CaseInsensitive.ice:202: exception name `E1' is capitalized inconsistently with its previous name: `::e1'
    errorDetection/CaseInsensitive.ice:204: exception name `xxx::xx::E1' is capitalized inconsistently with its previous name: `::xxx::xx::e1'
    errorDetection/CaseInsensitive.ice:205: exception name `xxx::XX::e1' is capitalized inconsistently with its previous name: `::xxx::xx::e1'
    errorDetection/CaseInsensitive.ice:206: exception name `XXX::xx::e1' is capitalized inconsistently with its previous name: `::xxx::xx::e1'
    errorDetection/CaseInsensitive.ice:208: exception name `xxx::xx::E1' is capitalized inconsistently with its previous name: `::xxx::xx::e1'
    errorDetection/CaseInsensitive.ice:209: exception name `xxx::XX::e1' is capitalized inconsistently with its previous name: `::xxx::xx::e1'
    errorDetection/CaseInsensitive.ice:210: exception name `XXX::xx::e1' is capitalized inconsistently with its previous name: `::xxx::xx::e1'
    errorDetection/CaseInsensitive.ice:211: operation name `op12' cannot be used as parameter name
    errorDetection/CaseInsensitive.ice:212: parameter `OP13' differs only in capitalization from operation name `op13'
    errorDetection/CaseInsensitive.ice:225: ambiguous multiple inheritance: `derived' inherits operations `op' and `OP', which differ only in capitalization, from unrelated base interfaces

    Regards,

    apm
  • Can you do a diff between the output and CaseInsensitive.ice? The output looks correct, except that there should be no 'errorDetection/' in the output. Perhaps that's why the diff fails.