When including some boost libraries Visual C++ 6.0 (with Intel compiler 7.0 
and STLPort) is unable to generate the browse info. Have others experienced 
the same effect or is there some workaround ? 

In attachment is a very small demo program with which Visual C++ encounters 
some problems when generating the browse info. This one only includes 
type_traits and boost/numeric/ublas/vector.hpp

The compiler reports the following error:

--------------------Configuration: testbsc - Win32 Debug--------------------
Compiling...
main.cpp
Unknown compiler version - please run the configure tests and report the
results
Linking...
xilink6: executing 'C:\PROGRA~1\MICROS~3\VC98\Bin\link.exe'
Creating browse info file...
BSCMAKE: error BK1506 : cannot open file '.\Debug\main.sbr': No such
file or directory
Error executing bscmake.exe.

testbsc.exe - 1 error(s), 0 warning(s)

So, no browse info is generated.

However, when line 7 (and 14) (i.e. ublas) is uncommented, BSCMAKE reports 
only a
warning:

--------------------Configuration: testbsc - Win32 Debug--------------------
Compiling...
main.cpp
Unknown compiler version - please run the configure tests and report the
results
Linking...
xilink6: executing 'C:\PROGRA~1\MICROS~3\VC98\Bin\link.exe'
Creating browse info file...
BSCMAKE: warning BK4503 : minor error in .SBR file '.\Debug\main.sbr'
ignored

testbsc.exe - 0 error(s), 1 warning(s)

But when no boost files are included (comment out line 6, 7, 8, 14, 15),
browse info is generated without a glitch:

--------------------Configuration: testbsc - Win32 Debug--------------------
Compiling...
main.cpp
Linking...
xilink6: executing 'C:\PROGRA~1\MICROS~3\VC98\Bin\link.exe'
Creating browse info file...

testbsc.exe - 0 error(s), 0 warning(s)

In the attached archive, you will find source files (main.ccp,
defclass.hpp) and the workspace and project directories.


toon


Attachment: testbsc.zip
Description: Zip archive

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to