Skip to content
This repository was archived by the owner on Aug 19, 2024. It is now read-only.

Conversation

@youngtack
Copy link

make.cmd complains about this file and zero size file resolves it.

make.cmd complains about this file and zero size file resolves it.
@lauracaulfield
Copy link
Contributor

I think there's something odd in your setup -- when I run make.cmd (in src\precondition) in a VS2015 command prompt there's no error. The changes you made in the other pull requests shouldn't affect this code.

@youngtack
Copy link
Author

youngtack commented Apr 8, 2016

## Even make.cmd of the latest version on VS2015, which is from master.zip, complains as below.

C:\StorScore-0408-2016\src\precondition>make.cmd

C:\StorScore-0408-2016\src\precondition>cl /EHsc /O2 /GL /I. precondition.cpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.00.23918 for x86
Copyright (C) Microsoft Corporation.  All rights reserved.

precondition.cpp
Unknown compiler version - please run the configure tests and report the results

.\boost/preprocessor/repetition/repeat.hpp(19): fatal error C1083: Cannot open include file: 'boost/preprocessor/debug/error.hpp': No such file or directory

@bdenison99
Copy link
Contributor

I've run into this same issue. I just created /boost/preprocessor/debug/error.hpp as an empty file, and it works around the issue.

@marksantaniello
Copy link
Contributor

Laura, you should probably compare compiler versions to see what's going on here ("VS2015" is perhaps not enough, run cl.exe /Bv).

Boost includes a lot of work-arounds for different compilers. The "Unknown compiler version" message is a clue. Now that VS2015 is out, we may want to just update to a newer version of Boost that is "VS2015 aware".

I don't like the idea of sticking an empty error.hpp file somewhere. We should get the proper files from Boost included.

@microsoft microsoft deleted a comment from msftclas Sep 26, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants