Skip to content

Instantly share code, notes, and snippets.

@BillyONeal
Created February 14, 2019 09:22
Show Gist options
  • Save BillyONeal/95634a7d7786c29a764f1de7d2fe92d4 to your computer and use it in GitHub Desktop.
Save BillyONeal/95634a7d7786c29a764f1de7d2fe92d4 to your computer and use it in GitHub Desktop.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview>type C:\Dev\msvc\src\qa\VC\Libs\devcrt\include\std.hpp
#ifndef STD_HPP
#define STD_HPP
#pragma warning(push)
#pragma warning(1 : 4668) // 'MEOW' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
// DevDiv#255593 "All STL headers should protect themselves from macroized new"
#pragma push_macro("new")
#undef new
#define new WILL NOT COMPILE
#if 1 // TRANSITION, MSFT:17090155 (UCRT)
#define _CRT_INTERNAL_NONSTDC_NAMES 0
#ifndef TESTING_NVCC
#include <sys/stat.h>
#include <sys/timeb.h>
#include <sys/utime.h>
#endif // TESTING_NVCC
#undef _CRT_INTERNAL_NONSTDC_NAMES
#endif // TRANSITION, MSFT:17090155 (UCRT)
#define _SILENCE_CXX17_C_HEADER_DEPRECATION_WARNING
#define _SILENCE_CXX17_STRSTREAM_DEPRECATION_WARNING
#include <algorithm>
#include <any>
#include <array>
#include <bitset>
#include <charconv>
#include <chrono>
#include <codecvt>
#include <compare>
#include <complex>
#include <deque>
#include <exception>
#include <filesystem>
#include <forward_list>
#include <fstream>
#include <functional>
#define _SILENCE_STDEXT_HASH_DEPRECATION_WARNINGS
#include <hash_map>
#include <hash_set>
#include <initializer_list>
#include <iomanip>
#include <ios>
#include <iosfwd>
#include <iostream>
#include <istream>
#include <iterator>
#include <limits>
#include <list>
#include <locale>
#include <map>
#include <memory>
#include <memory_resource>
#include <new>
#include <numeric>
#include <optional>
#include <ostream>
#include <queue>
#include <random>
#include <ratio>
#include <regex>
#include <scoped_allocator>
#include <set>
#include <sstream>
#include <stack>
#include <stdexcept>
#include <streambuf>
#include <string>
#include <string_view>
#include <strstream>
#include <system_error>
#include <tuple>
#include <type_traits>
#include <typeindex>
#include <typeinfo>
#include <unordered_map>
#include <unordered_set>
#include <utility>
#include <valarray>
#include <variant>
#include <vector>
#ifndef _M_CEE
#define _SILENCE_STDEXT_ALLOCATORS_DEPRECATION_WARNING
#include <allocators>
#endif // _M_CEE
#ifndef _M_CEE_PURE
#include <atomic>
#endif // _M_CEE_PURE
#ifndef _M_CEE
#include <condition_variable>
#include <execution>
#include <future>
#include <mutex>
#include <shared_mutex>
#include <thread>
#endif // _M_CEE
#include <cassert>
#include <ccomplex>
#include <cctype>
#include <cerrno>
#include <cfenv>
#include <cfloat>
#include <cinttypes>
#include <ciso646>
#include <climits>
#include <clocale>
#include <cmath>
#include <csetjmp>
#include <csignal>
#include <cstdalign>
#include <cstdarg>
#include <cstdbool>
#include <cstddef>
#include <cstdint>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <ctgmath>
#include <ctime>
#include <cuchar>
#include <cwchar>
#include <cwctype>
#include <experimental/deque>
#include <experimental/filesystem>
#include <experimental/forward_list>
#include <experimental/list>
#include <experimental/map>
#include <experimental/set>
#include <experimental/string>
#include <experimental/unordered_map>
#include <experimental/unordered_set>
#include <experimental/vector>
#ifndef TESTING_NVCC
#include <assert.h>
#include <complex.h>
#include <conio.h>
#include <crtdbg.h>
#include <ctype.h>
#include <direct.h>
#include <dos.h>
#include <errno.h>
#include <excpt.h>
#include <fcntl.h>
#include <fenv.h>
#include <float.h>
#include <intrin.h>
#include <inttypes.h>
#include <io.h>
#include <iso646.h>
#include <limits.h>
#include <locale.h>
#include <malloc.h>
#include <math.h>
#include <mbctype.h>
#include <mbstring.h>
#include <memory.h>
#include <minmax.h>
#include <new.h>
#include <process.h>
#include <safeint.h>
#include <sal.h>
#include <search.h>
#include <setjmp.h>
#include <share.h>
#include <signal.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/locking.h>
#include <sys/stat.h>
#include <sys/timeb.h>
#include <sys/types.h>
#include <sys/utime.h>
#include <tchar.h>
#include <time.h>
#include <uchar.h>
#include <wchar.h>
#include <wctype.h>
#ifndef _M_CEE_PURE
#include <fpieee.h>
#endif // _M_CEE_PURE
#endif // TESTING_NVCC
#pragma pop_macro("new")
#pragma warning(pop)
#endif // STD_HPP
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview>cl /c /TP /EHsc /wd4005 /w44668 /std:c++latest /FoC:\Users\bion\Desktop\std.obj /FAc /FaC:\Users\bion\Desktop\std.cod C:\Dev\msvc\src\qa\VC\Libs\devcrt\include\std.hpp
Microsoft (R) C/C++ Optimizing Compiler Version 19.20.27323 for x64
Copyright (C) Microsoft Corporation. All rights reserved.
/std:c++latest is provided as a preview of language features from the latest C++
working draft, and we're eager to hear about bugs and suggestions for improvements.
However, note that these features are provided as-is without support, and subject
to changes or removal as the working draft evolves. See
https://go.microsoft.com/fwlink/?linkid=2045807 for details.
std.hpp
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_math.h(44): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_math.h(963): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_search.h(188): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\stdlib.h(79): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\stdlib.h(1286): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\float.h(328): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\stdio.h(378): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\stdio.h(2437): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_wstring.h(573): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\malloc.h(173): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_memory.h(76): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\string.h(531): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\ctype.h(241): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\time.h(589): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\process.h(232): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\conio.h(430): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\direct.h(85): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\dos.h(52): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_io.h(435): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\tchar.h(2105): warning C4668: '_CRT_INTERNAL_NONSTDC_NAMES' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview>type "C:\Users\bion\Desktop\std.cod"
; Listing generated by Microsoft (R) Optimizing Compiler Version 19.20.27323.0
include listing.inc
INCLUDELIB LIBCMT
INCLUDELIB OLDNAMES
PUBLIC _Fenv1
; COMDAT _Fenv1
CONST SEGMENT
_Fenv1 DD 03f00003fH
DD 00H
CONST ENDS
END
C:\Program Files (x86)\Microsoft Visual Studio\2019\Preview>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment