Comments (6)
@jaw Could you please describe a bit more about your environment?
Because for me on current master (5eb68c0), the size of Debug\fmtd.pdb
is 815,104 bytes even if I revert my change from 52a99a6. How did you get this "real" PDB that is bigger?
I'm using VS2022 17.9.5 with:
cmake . -G "Visual Studio 17 2022"
cmake --build .
from fmt.
Or alternatively: maybe only do this if the compiler actually is msvc2017...
from fmt.
PDB file is generated in the cmake build directory which is invalid
Could you elaborate why is it invalid and which directory would you expect it to be?
from fmt.
could it be that the issue lies in the fact that the CMAKE_BINARY_DIR
is used? That's not where the .lib is being put necessarily, instead CMAKE_LIBRARY_OUTPUT_DIRECTORY
is used which might point to a different location.
from fmt.
PDB file is generated in the cmake build directory which is invalid
Could you elaborate why is it invalid and which directory would you expect it to be?
Yes, I wasn't totally clear in my wording; the PDB file is corrupt, at least according to breakpad's dump_syms. Looking at it, it's smaller than the "real" working one, ~700k instead of >2MB.
from fmt.
It seems strange to me that the PDB file would be corrupt if you change the output directory. This might indicate a bug in a specific version of MSVC so I recommend reporting to Microsoft although I'm not opposed to a workaround. Closing for now but feel free to reopen with more details/repro per @pklima's comment.
from fmt.
Related Issues (20)
- Does not compile with the FMT_PEDANTIC=ON and FMT_WERROR=ON options HOT 3
- Add support for alternative month format HOT 2
- P3142R0: Printing Blank Lines with println HOT 1
- MSVC errors when importing both fmt and std modules HOT 19
- Cannot use ostream support on fmt 9.x and 10.x HOT 1
- fmt::format_to + FMT_STRING with wide characters fails to compile HOT 1
- std::chrono::current_zone() is not meant to return the local time zone HOT 4
- It would be good to have a customizable separator in fmt::group_digits(...) HOT 1
- fmt::styled and fmt::formatter<std::string> parse deactivate colors/termaps HOT 1
- formatting of variant types HOT 3
- FMT_USE_NONTYPE_TEMPLATE_ARGS detection is wrong on trunk HOT 2
- Support for a single `char` separator in `fmt::join()` HOT 1
- Formatting for strings with custom allocators fails to compile HOT 2
- Advice for extending libfmt for GPU support? HOT 2
- xchar.h extra dependencies HOT 1
- cannot use in CUDA (+MSVC) for newest branch master HOT 1
- Question: what's the difference between string-like formatters and where are they defined? HOT 2
- fmt won't let me specialize a formatter to format mixed character types. HOT 2
- `fmt::isnan` triggers floating-point exception for NaN values HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmt.