This repository was archived by the owner on Feb 7, 2026. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +4
-10
lines changed
Expand file tree Collapse file tree 1 file changed +4
-10
lines changed Original file line number Diff line number Diff line change 1414#if defined(__EMSCRIPTEN__)
1515 #include < emscripten/emscripten.h>
1616#else
17- #include < cpptrace/cpptrace.hpp>
18- inline void trace () {
19- cpptrace::generate_trace ().print ();
20- }
17+ #include < cpptrace/basic.hpp>
2118#endif
2219
2320constexpr int maxArguments = 128 ;
@@ -114,21 +111,18 @@ inline int runApp (int argc, const char* argv[]) {
114111 LOG_I_STREAM << " Starting " << AppContext::standaloneName << " ..." << " \n " ;
115112
116113#ifdef EMSCRIPTEN
117- LOG_I_STREAM << " C++ Running in Emscripten environment" << " \n " ;
114+ LOG_I_STREAM << " Running in Web environment" << " \n " ;
118115 #ifdef __EMSCRIPTEN_PTHREADS__
119- LOG_I_STREAM << " Emscripten C++ with pthreads support" << " \n " ;
116+ LOG_I_STREAM << " pthreads support: Enabled " << " \n " ;
120117 #endif
121118#else
122- trace (); // just 4 fun
119+ cpptrace::generate_trace (). print ();
123120#endif
124121
125122 if (handlesArguments (argc, argv) != 0 ) {
126123 return 1 ;
127124 }
128125
129- // I know it is smartpointer, but ... why not
130- uniqueLib = nullptr ;
131-
132126 // demo error
133127 LOG_E_STREAM << " This is a demo error message" << " \n " ;
134128
You can’t perform that action at this time.
0 commit comments