• Christopher Dykes's avatar
    Don't use a VLA for the double->string buffer. · ad925ffa
    Christopher Dykes authored
    Summary: MSVC is actually smarter about this than GCC, as MSVC doesn't support VLAs, it tries to eval the length at compile time. GCC on the other hand doesn't try to eval it at compile time, resulting in compiles via CMake telling us that this is a VLA.
    
    Reviewed By: yfeldblum
    
    Differential Revision: D2911929
    
    fb-gh-sync-id: ffaa133bcf4129a3e02f7e875966d3ae6a97be6a
    shipit-source-id: ffaa133bcf4129a3e02f7e875966d3ae6a97be6a
    ad925ffa
Format.cpp 9.2 KB