[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Problems with auto-generation of khtml/ecma/xmlserializer.lut.h
From:       Albert Chin <kde-devel () mlists ! thewrittenword ! com>
Date:       2004-12-05 0:02:12
Message-ID: 20041205000212.GA92954 () mail1 ! thewrittenword ! com
[Download RAW message or body]

The IRIX C++ compiler and Tru64 C++ compiler complain when building
khtml/ecma/xmlserializer.cpp because it includes xmlserializer.lut.h:
cc-1070 CC: ERROR File = xmlserializer.lut.h, Line = 30
  The indicated type is incomplete.

  static const struct HashEntry XMLSerializerTableEntries[] = {
                                ^

1 error detected in the compilation of "xmlserializer.cpp".

The offending lines from xmlserializer.lut.h:
  static const struct HashEntry XMLSerializerTableEntries[] = {
  };

  const struct HashTable XMLSerializerTable = { 2, 0,
  XMLSerializerTableEntries, 0, XMLSerializerTableStrings};

These compilers do not like the empty initialization. What should I
do?

Should I update kjs/create_hash_table to output the HashEntry entry
only when non-empty and then a NULL in its place in the following
HashTable entry?

-- 
albert chin (china@thewrittenword.com)
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic