Hi all.

The 1 managed C++ example we have, which is at:

examples\net\1.0\Tutorials\ConsoleApp\cpp

has stopped building for me! (on 2 different machines) (NOTE This is
building under .NET 1.0 i.e. VS.NET 2002).

I am getting the following internal compiler error:

C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\Console
App\cpp\src\AssemblyInfo.cpp(0) : fatal error C1001: INERNAL COMPILER
ERROR
   (compiler file 'msc1.cpp', line 2844)
   Please choose the Technical Support command on the Visual C++

The full compiler output (not much more) is attached.
As far as I can see this has something to do with the referenced
log4net.dll rather than the source code to the example. The example used
to compile and nothing has changed in the example. The example compiles
fine for me using the 1.1 C++ complier that shipped with VS.NET 2003.

Has anyone got this example compiling with the .NET 1.0 C++ compiler and
the latest checked in source code?

If not I may just 'promote' this example to .NET 1.1.


Cheers.
------------
Nicko Cadell
log4net development
http://logging.apache.org/log4net
LOG4NET_DIR is C:\work\svn_root\apache\log4net\trunk
NANTEXE_PATH is C:\Program Files\NAnt\nant-0.85-nightly-2006-03-06\bin\nant.exe
BUILD_FILE is nant.build
NAnt 0.85 (Build 0.85.2256.0; nightly; 06/03/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net

Buildfile: 
file:///C:/work/svn_root/apache/log4net/trunk/examples/net/1.0/Tutorials/ConsoleApp/cpp/nant.build
Target framework: Microsoft .NET Framework 2.0
Target(s) specified: compile 


check-current-build-config:


set-build-configuration:


set-debug-build-configuration:


check-current-build-config:


set-build-configuration-flags:


check-bin-dir:


check-doc-dir:


check-sdkdoc-dir:


check-sdkdoc-debug:


check-current-build-config:


check-build-debug:


check-build-defines:


set-net-1.0-runtime-configuration:

 [property] Target framework changed to "Microsoft .NET Framework 1.0".

check-current-bin-dir:


clean-current-bin-dir:

     [echo] Cleaning the bin/net/1.0/debug binaries directory.
   [delete] Deleting directory 
'C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\ConsoleApp\cpp\bin\net\1.0\debug'.
    [mkdir] Creating directory 
'C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\ConsoleApp\cpp\bin\net\1.0\debug'.

check-current-build-defines:


check-current-build-debug:


check-log4net-output-dir:


check-log4net-assembly:


compile:

     [copy] Copying 3 files to 
'C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\ConsoleApp\cpp\bin\net\1.0\debug'.
       [cl] Compiling 3 files to 
'C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\ConsoleApp\cpp\bin\net\1.0\debug'.
       [cl] AssemblyInfo.cpp
       [cl] 
C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\ConsoleApp\cpp\src\AssemblyInfo.cpp(0)
 : fatal error C1001: INTERNAL COMPILER ERROR
       [cl]         (compiler file 'msc1.cpp', line 2844) 
       [cl]          Please choose the Technical Support command on the Visual 
C++ 
       [cl]          Help menu, or open the Technical Support help file for 
more information
       [cl] ConsoleApp.cpp
       [cl] 
C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\ConsoleApp\cpp\src\ConsoleApp.cpp(0)
 : fatal error C1001: INTERNAL COMPILER ERROR
       [cl]         (compiler file 'msc1.cpp', line 2844) 
       [cl]          Please choose the Technical Support command on the Visual 
C++ 
       [cl]          Help menu, or open the Technical Support help file for 
more information
       [cl] AssemblyVersionInfo.cpp
       [cl] 
C:\work\svn_root\apache\log4net\trunk\src\AssemblyVersionInfo.cpp(0) : fatal 
error C1001: INTERNAL COMPILER ERROR
       [cl]         (compiler file 'msc1.cpp', line 2844) 
       [cl]          Please choose the Technical Support command on the Visual 
C++ 
       [cl]          Help menu, or open the Technical Support help file for 
more information
       [cl] Generating Code...

BUILD FAILED

C:\work\svn_root\apache\log4net\trunk\examples\net\1.0\Tutorials\ConsoleApp\cpp\nant.build(34,10):
External Program Failed: cl (return code was 2)

Total time: 1 seconds.

Reply via email to