[ROOT] Syntax error in TVirtualX.h

From: GENTIT Francois-Xavier DAPNIA (GENTIT@dapnia.cea.fr)
Date: Mon Jan 21 2002 - 17:51:57 MET


   Dear rooter,
   I am working on Windows NT4 and my version of ROOT is 3.02/07.
   Recently, we have tried, Patrick Jarry (Patrick.Jarry@cern.ch) and I, to
adapt on Windows NT a software written for the test beam of CMS, and which
is working ok on Unix. We face the following problem, which we do not know
how to tackle :
  All files compile ok, but the dictionnary generated by rootcint does not
compile and gives the following types of errors:

BTCMSdict.cxx
D:\root/include\TVirtualX.h(168) : error C2059: syntax error : 'constant'
D:\root/include\TVirtualX.h(364) : error C2275: 'Window_t' : illegal use of
this type as an expression
        D:\root/include\GuiTypes.h(30) : see declaration of 'Window_t'
D:\root/include\TVirtualX.h(364) : error C2275: 'Int_t' : illegal use of
this type as an expression
        D:\root/include\Rtypes.h(50) : see declaration of 'Int_t'
D:\root/include\TVirtualX.h(364) : error C2275: 'Int_t' : illegal use of
this type as an expression
        D:\root/include\Rtypes.h(50) : see declaration of 'Int_t'

   I  thought it was due to the software calling TG classes not implemented
on Windows, but it is not the case. I have not found any include of TG
classes, and I have tried to compile and link with the new ROOT with
Win32GDK getting the same problem.
   If somebody has an idea, thanks a lot in advance.

          F.X. Gentit
          DAPNIA/SPP CEN Saclay
          tel : 01 69 08 30 38     fax : 01 69 08 64 28
          web : http://home.cern.ch/~gentit/



This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:39 MET