logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guclu, Tugrul" <tugrul.gu...@siemens.com>
Subject Problem with build in VS2010=>CStringT type
Date Thu, 30 Sep 2010 14:09:49 GMT
Hi

I have an ATL project in VS2010 and trying to integrate log4cxx to my solution.

When I compiler I get these errors

 

Error      3             error C2988: unrecognizable template declaration/definition    c:\documents
and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      42           1                AlmBtPg

Error      10           error C2988: unrecognizable template declaration/definition    c:\documents
and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      56           1                AlmBtPg

Error      7             error C2447: '{' : missing function header (old-style formal list?)
             c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
          50           1             AlmBtPg

Error      14           error C2447: '{' : missing function header (old-style formal list?)
             c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
          64           1             AlmBtPg

Error      2             error C2143: syntax error : missing ';' before '<'           
    c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      42           1                AlmBtPg

Error      9             error C2143: syntax error : missing ';' before '<'           
    c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      56           1                AlmBtPg

Error      16           error C2143: syntax error : missing ';' before '<'            
   c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      70           1                AlmBtPg

Error      6             error C2143: syntax error : missing ';' before '{' c:\documents and
settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
            50           1             AlmBtPg

Error      13           error C2143: syntax error : missing ';' before '{' c:\documents and
settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
            64           1             AlmBtPg

Error      1             error C2143: syntax error : missing ')' before '<'           
    c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      42           1                AlmBtPg

Error      8             error C2143: syntax error : missing ')' before '<'           
    c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      56           1                AlmBtPg

Error      15           error C2143: syntax error : missing ')' before '<'            
   c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
      70           1                AlmBtPg

Error      4             error C2059: syntax error : '<'    c:\documents and settings\tr1g3800\my
documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
          42           1             AlmBtPg

Error      11           error C2059: syntax error : '<'    c:\documents and settings\tr1g3800\my
documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
          56           1             AlmBtPg

Error      5             error C2059: syntax error : ')'     c:\documents and settings\tr1g3800\my
documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
          42           1             AlmBtPg

Error      12           error C2059: syntax error : ')'     c:\documents and settings\tr1g3800\my
documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
          56           1             AlmBtPg

Error      17           error C1903: unable to recover from previous error(s); stopping compilation
   c:\documents and settings\tr1g3800\my documents\visual studio 2010\projects\comtest\atlserver\almbtpg\import\log4cxx\inc\log4cxx\logger.h
          70           1             AlmBtPg

 

AFAIK CStringT is a built-in type and should not create a problem. 

Any ideas?

Regards

 

 

With best regards / mit freundlichen Grüßen / saygilarimla
Tugrul GUCLU
Corporate Technology, Siemens San. ve Tic. AS
DC CEE I IBT
GOSB Teknopark
Kemal Nehrozoğlu Cad.
2. Hibrit Bina Zemin kat /No:4
Turkey - 41480 Kocaeli
Tel.  +90 (216) 459 3185
Fax  +90 (216) 459 2042
tugrul.guclu@siemens.com
www.siemens.com <http://www.siemens.com/> 

 


Mime
View raw message