Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Submodule path 'ggml': checked out '9e232f0234073358e7031c1b8d7aa45020469a3b'
- -- CMAKE_SYSTEM_PROCESSOR: x86_64
- -- x86 detected
- -- Configuring done (0.0s)
- -- Generating done (0.1s)
- -- Build files have been written to: /home/stephen/src/ollama/llm/llama.cpp/ggml/build/cpu
- [ 9%] Building C object CMakeFiles/ggml.dir/ggml.c.o
- [ 18%] Building C object CMakeFiles/ggml.dir/ggml-alloc.c.o
- [ 27%] Building C object CMakeFiles/ggml.dir/k_quants.c.o
- [ 27%] Built target ggml
- [ 36%] Building CXX object CMakeFiles/llama.dir/llama.cpp.o
- In file included from /usr/include/c++/13.2.1/string:51,
- from /home/stephen/src/ollama/llm/llama.cpp/ggml/llama-util.h:15,
- from /home/stephen/src/ollama/llm/llama.cpp/ggml/llama.cpp:9:
- In static member function ‘static void std::__copy_move<false, false, std::random_access_iterator_tag>::__assign_one(_Tp*, _Up*) [with _Tp = const llama_grammar_element*; _Up = const llama_grammar_element* const]’,
- inlined from ‘static _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = const llama_grammar_element* const; _Up = const llama_grammar_element*; bool _IsMove = false]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:440:20,
- inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llama_grammar_element* const*; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:506:30,
- inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llama_grammar_element* const*; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:533:42,
- inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:540:31,
- inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:633:7,
- inlined from ‘static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, std::vector<const llama_grammar_element*> >; _ForwardIterator = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_uninitialized.h:147:27,
- inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _ForwardIterator = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_uninitialized.h:185:15,
- inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _ForwardIterator = const llama_grammar_element**; _Tp = const llama_grammar_element*]’ at /usr/include/c++/13.2.1/bits/stl_uninitialized.h:373:37,
- inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:603:31,
- inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/new_allocator.h:187:4,
- inlined from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/alloc_traits.h:537:17,
- inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::vector<const llama_grammar_element*>; _Alloc = std::allocator<std::vector<const llama_grammar_element*> >]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:1283:30,
- inlined from ‘void llama_grammar_advance_stack(const std::vector<std::vector<llama_grammar_element> >&, const std::vector<const llama_grammar_element*>&, std::vector<std::vector<const llama_grammar_element*> >&)’ at /home/stephen/src/ollama/llm/llama.cpp/ggml/llama.cpp:2266:29:
- /usr/include/c++/13.2.1/bits/stl_algobase.h:398:17: warning: array subscript 0 is outside array bounds of ‘const llama_grammar_element* [0]’ [-Warray-bounds=]
- 398 | { *__to = *__from; }
- | ~~~~~~^~~~~~~~~
- In file included from /usr/include/c++/13.2.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
- from /usr/include/c++/13.2.1/bits/allocator.h:46,
- from /usr/include/c++/13.2.1/string:43:
- In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = const llama_grammar_element*]’,
- inlined from ‘static _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, size_type) [with _Tp = const llama_grammar_element*]’ at /usr/include/c++/13.2.1/bits/alloc_traits.h:482:28,
- inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:378:33,
- inlined from ‘void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:395:44,
- inlined from ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:332:26,
- inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:600:61,
- inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/new_allocator.h:187:4,
- inlined from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/alloc_traits.h:537:17,
- inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::vector<const llama_grammar_element*>; _Alloc = std::allocator<std::vector<const llama_grammar_element*> >]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:1283:30,
- inlined from ‘void llama_grammar_advance_stack(const std::vector<std::vector<llama_grammar_element> >&, const std::vector<const llama_grammar_element*>&, std::vector<std::vector<const llama_grammar_element*> >&)’ at /home/stephen/src/ollama/llm/llama.cpp/ggml/llama.cpp:2266:29:
- /usr/include/c++/13.2.1/bits/new_allocator.h:147:55: note: object of size 0 allocated by ‘operator new’
- 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
- | ^
- [ 45%] Linking CXX static library libllama.a
- [ 45%] Built target llama
- [ 54%] Building CXX object examples/CMakeFiles/common.dir/common.cpp.o
- [ 63%] Building CXX object examples/CMakeFiles/common.dir/grammar-parser.cpp.o
- [ 72%] Built target common
- [ 81%] Generating build details from Git
- -- Found Git: /usr/bin/git (found version "2.42.0")
- [ 81%] Built target BUILD_INFO
- [ 90%] Building CXX object examples/server/CMakeFiles/server.dir/server.cpp.o
- [100%] Linking CXX executable ../../bin/server
- [100%] Built target server
- Submodule path 'gguf': checked out '9e70cc03229df19ca2d28ce23cc817198f897278'
- -- CMAKE_SYSTEM_PROCESSOR: x86_64
- -- x86 detected
- -- Configuring done (0.0s)
- -- Generating done (0.1s)
- -- Build files have been written to: /home/stephen/src/ollama/llm/llama.cpp/gguf/build/cpu
- [ 28%] Built target ggml
- [ 42%] Built target llama
- [ 50%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.cpp:1:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/./llama.h:13,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:5:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.cpp: In function ‘std::tuple<llama_model*, llama_context*> llama_init_from_gpt_params(gpt_params&)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.cpp:887:9: note: in expansion of macro ‘LOG’
- 887 | LOG("warming up the model with an empty run\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [ 57%] Building CXX object common/CMakeFiles/common.dir/sampling.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.h:58,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.cpp:1:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/./llama.h:13,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.h:3:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.cpp: In function ‘llama_token llama_sampling_sample(llama_sampling_context*, llama_context*, llama_context*, int)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.cpp:204:13: note: in expansion of macro ‘LOG’
- 204 | LOG("sampled token: %5d: '%s'\n", id, llama_token_to_piece(ctx_main, id).c_str());
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [ 64%] Building CXX object common/CMakeFiles/common.dir/train.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/train.cpp:2:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /usr/include/c++/13.2.1/cstdio:42,
- from /usr/include/c++/13.2.1/ext/string_conversions.h:45,
- from /usr/include/c++/13.2.1/bits/basic_string.h:4097,
- from /usr/include/c++/13.2.1/string:54,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/train.h:5,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/train.cpp:1:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [ 78%] Built target common
- [ 85%] Generating build details from Git
- -- Found Git: /usr/bin/git (found version "2.42.0")
- [ 85%] Built target BUILD_INFO
- [ 92%] Building CXX object examples/server/CMakeFiles/server.dir/server.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/examples/server/server.cpp:1:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/./llama.h:13,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./common.h:5:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [100%] Linking CXX executable ../../bin/server
- [100%] Built target server
- -- Could not find nvcc, please set CUDAToolkit_ROOT.
- CMake Warning at CMakeLists.txt:295 (message):
- cuBLAS not found
- -- CMAKE_SYSTEM_PROCESSOR: x86_64
- -- x86 detected
- -- Configuring done (0.0s)
- -- Generating done (0.1s)
- -- Build files have been written to: /home/stephen/src/ollama/llm/llama.cpp/ggml/build/cuda
- [ 9%] Building C object CMakeFiles/ggml.dir/ggml.c.o
- [ 18%] Building C object CMakeFiles/ggml.dir/ggml-alloc.c.o
- [ 27%] Building C object CMakeFiles/ggml.dir/k_quants.c.o
- [ 27%] Built target ggml
- [ 36%] Building CXX object CMakeFiles/llama.dir/llama.cpp.o
- In file included from /usr/include/c++/13.2.1/string:51,
- from /home/stephen/src/ollama/llm/llama.cpp/ggml/llama-util.h:15,
- from /home/stephen/src/ollama/llm/llama.cpp/ggml/llama.cpp:9:
- In static member function ‘static void std::__copy_move<false, false, std::random_access_iterator_tag>::__assign_one(_Tp*, _Up*) [with _Tp = const llama_grammar_element*; _Up = const llama_grammar_element* const]’,
- inlined from ‘static _Up* std::__copy_move<_IsMove, true, std::random_access_iterator_tag>::__copy_m(_Tp*, _Tp*, _Up*) [with _Tp = const llama_grammar_element* const; _Up = const llama_grammar_element*; bool _IsMove = false]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:440:20,
- inlined from ‘_OI std::__copy_move_a2(_II, _II, _OI) [with bool _IsMove = false; _II = const llama_grammar_element* const*; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:506:30,
- inlined from ‘_OI std::__copy_move_a1(_II, _II, _OI) [with bool _IsMove = false; _II = const llama_grammar_element* const*; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:533:42,
- inlined from ‘_OI std::__copy_move_a(_II, _II, _OI) [with bool _IsMove = false; _II = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:540:31,
- inlined from ‘_OI std::copy(_II, _II, _OI) [with _II = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _OI = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_algobase.h:633:7,
- inlined from ‘static _ForwardIterator std::__uninitialized_copy<true>::__uninit_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, std::vector<const llama_grammar_element*> >; _ForwardIterator = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_uninitialized.h:147:27,
- inlined from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _ForwardIterator = const llama_grammar_element**]’ at /usr/include/c++/13.2.1/bits/stl_uninitialized.h:185:15,
- inlined from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const llama_grammar_element* const*, vector<const llama_grammar_element*> >; _ForwardIterator = const llama_grammar_element**; _Tp = const llama_grammar_element*]’ at /usr/include/c++/13.2.1/bits/stl_uninitialized.h:373:37,
- inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:603:31,
- inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/new_allocator.h:187:4,
- inlined from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/alloc_traits.h:537:17,
- inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::vector<const llama_grammar_element*>; _Alloc = std::allocator<std::vector<const llama_grammar_element*> >]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:1283:30,
- inlined from ‘void llama_grammar_advance_stack(const std::vector<std::vector<llama_grammar_element> >&, const std::vector<const llama_grammar_element*>&, std::vector<std::vector<const llama_grammar_element*> >&)’ at /home/stephen/src/ollama/llm/llama.cpp/ggml/llama.cpp:2266:29:
- /usr/include/c++/13.2.1/bits/stl_algobase.h:398:17: warning: array subscript 0 is outside array bounds of ‘const llama_grammar_element* [0]’ [-Warray-bounds=]
- 398 | { *__to = *__from; }
- | ~~~~~~^~~~~~~~~
- In file included from /usr/include/c++/13.2.1/x86_64-pc-linux-gnu/bits/c++allocator.h:33,
- from /usr/include/c++/13.2.1/bits/allocator.h:46,
- from /usr/include/c++/13.2.1/string:43:
- In member function ‘_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = const llama_grammar_element*]’,
- inlined from ‘static _Tp* std::allocator_traits<std::allocator<_CharT> >::allocate(allocator_type&, size_type) [with _Tp = const llama_grammar_element*]’ at /usr/include/c++/13.2.1/bits/alloc_traits.h:482:28,
- inlined from ‘std::_Vector_base<_Tp, _Alloc>::pointer std::_Vector_base<_Tp, _Alloc>::_M_allocate(std::size_t) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:378:33,
- inlined from ‘void std::_Vector_base<_Tp, _Alloc>::_M_create_storage(std::size_t) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:395:44,
- inlined from ‘std::_Vector_base<_Tp, _Alloc>::_Vector_base(std::size_t, const allocator_type&) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:332:26,
- inlined from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = const llama_grammar_element*; _Alloc = std::allocator<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:600:61,
- inlined from ‘void std::__new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/new_allocator.h:187:4,
- inlined from ‘static void std::allocator_traits<std::allocator<_CharT> >::construct(allocator_type&, _Up*, _Args&& ...) [with _Up = std::vector<const llama_grammar_element*>; _Args = {const std::vector<const llama_grammar_element*, std::allocator<const llama_grammar_element*> >&}; _Tp = std::vector<const llama_grammar_element*>]’ at /usr/include/c++/13.2.1/bits/alloc_traits.h:537:17,
- inlined from ‘void std::vector<_Tp, _Alloc>::push_back(const value_type&) [with _Tp = std::vector<const llama_grammar_element*>; _Alloc = std::allocator<std::vector<const llama_grammar_element*> >]’ at /usr/include/c++/13.2.1/bits/stl_vector.h:1283:30,
- inlined from ‘void llama_grammar_advance_stack(const std::vector<std::vector<llama_grammar_element> >&, const std::vector<const llama_grammar_element*>&, std::vector<std::vector<const llama_grammar_element*> >&)’ at /home/stephen/src/ollama/llm/llama.cpp/ggml/llama.cpp:2266:29:
- /usr/include/c++/13.2.1/bits/new_allocator.h:147:55: note: object of size 0 allocated by ‘operator new’
- 147 | return static_cast<_Tp*>(_GLIBCXX_OPERATOR_NEW(__n * sizeof(_Tp)));
- | ^
- [ 45%] Linking CXX static library libllama.a
- [ 45%] Built target llama
- [ 54%] Building CXX object examples/CMakeFiles/common.dir/common.cpp.o
- [ 63%] Building CXX object examples/CMakeFiles/common.dir/grammar-parser.cpp.o
- [ 72%] Built target common
- [ 81%] Generating build details from Git
- -- Found Git: /usr/bin/git (found version "2.42.0")
- [ 81%] Built target BUILD_INFO
- [ 90%] Building CXX object examples/server/CMakeFiles/server.dir/server.cpp.o
- [100%] Linking CXX executable ../../bin/server
- [100%] Built target server
- -- Could not find nvcc, please set CUDAToolkit_ROOT.
- CMake Warning at CMakeLists.txt:343 (message):
- cuBLAS not found
- -- CMAKE_SYSTEM_PROCESSOR: x86_64
- -- x86 detected
- -- Configuring done (0.0s)
- -- Generating done (0.1s)
- -- Build files have been written to: /home/stephen/src/ollama/llm/llama.cpp/gguf/build/cuda
- [ 28%] Built target ggml
- [ 42%] Built target llama
- [ 50%] Building CXX object common/CMakeFiles/common.dir/common.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.cpp:1:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/./llama.h:13,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:5:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.cpp: In function ‘std::tuple<llama_model*, llama_context*> llama_init_from_gpt_params(gpt_params&)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.cpp:887:9: note: in expansion of macro ‘LOG’
- 887 | LOG("warming up the model with an empty run\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [ 57%] Building CXX object common/CMakeFiles/common.dir/sampling.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.h:58,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.cpp:1:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/./llama.h:13,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.h:3:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.cpp: In function ‘llama_token llama_sampling_sample(llama_sampling_context*, llama_context*, llama_context*, int)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/sampling.cpp:204:13: note: in expansion of macro ‘LOG’
- 204 | LOG("sampled token: %5d: '%s'\n", id, llama_token_to_piece(ctx_main, id).c_str());
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [ 64%] Building CXX object common/CMakeFiles/common.dir/train.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/train.cpp:2:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /usr/include/c++/13.2.1/cstdio:42,
- from /usr/include/c++/13.2.1/ext/string_conversions.h:45,
- from /usr/include/c++/13.2.1/bits/basic_string.h:4097,
- from /usr/include/c++/13.2.1/string:54,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/train.h:5,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/train.cpp:1:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [ 78%] Built target common
- [ 85%] Generating build details from Git
- -- Found Git: /usr/bin/git (found version "2.42.0")
- [ 85%] Built target BUILD_INFO
- [ 92%] Building CXX object examples/server/CMakeFiles/server.dir/server.cpp.o
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./common.h:10,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/examples/server/server.cpp:1:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h: In function ‘void log_test()’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:438:5: note: in expansion of macro ‘LOG’
- 438 | LOG("01 Hello World to nobody, because logs are disabled!\n");
- | ^~~
- In file included from /home/stephen/src/ollama/llm/llama.cpp/gguf/./llama.h:13,
- from /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./common.h:5:
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:440:5: note: in expansion of macro ‘LOG’
- 440 | LOG("02 Hello World to default output, which is \"%s\" ( Yaaay, arguments! )!\n", LOG_STRINGIZE(LOG_TARGET));
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:441:5: note: in expansion of macro ‘LOG_TEE’
- 441 | LOG_TEE("03 Hello World to **both** default output and " LOG_TEE_TARGET_STRING "!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:443:5: note: in expansion of macro ‘LOG’
- 443 | LOG("04 Hello World to stderr!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:255:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 255 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:302:26: note: in expansion of macro ‘LOG_TEE_IMPL’
- 302 | #define LOG_TEE(...) LOG_TEE_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:444:5: note: in expansion of macro ‘LOG_TEE’
- 444 | LOG_TEE("05 Hello World TEE with double printing to stderr prevented!\n");
- | ^~~~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:446:5: note: in expansion of macro ‘LOG’
- 446 | LOG("06 Hello World to default log file!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:448:5: note: in expansion of macro ‘LOG’
- 448 | LOG("07 Hello World to stdout!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:450:5: note: in expansion of macro ‘LOG’
- 450 | LOG("08 Hello World to default log file again!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:452:5: note: in expansion of macro ‘LOG’
- 452 | LOG("09 Hello World _1_ into the void!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:454:5: note: in expansion of macro ‘LOG’
- 454 | LOG("10 Hello World back from the void ( you should not see _1_ in the log or the output )!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:457:5: note: in expansion of macro ‘LOG’
- 457 | LOG("11 Hello World _2_ to nobody, new target was selected but logs are still disabled!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:459:5: note: in expansion of macro ‘LOG’
- 459 | LOG("12 Hello World this time in a new file ( you should not see _2_ in the log or the output )?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:461:5: note: in expansion of macro ‘LOG’
- 461 | LOG("13 Hello World this time in yet new file?\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:288:22: note: in expansion of macro ‘LOG_IMPL’
- 288 | #define LOG(...) LOG_IMPL(__VA_ARGS__, "")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:463:5: note: in expansion of macro ‘LOG’
- 463 | LOG("14 Hello World in log with generated filename!\n");
- | ^~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h: In function ‘void log_dump_cmdline_impl(int, char**)’:
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:232:20: warning: argument 1 null where non-null expected [-Wnonnull]
- 232 | fprintf(LOG_TARGET, LOG_TIMESTAMP_FMT LOG_FLF_FMT str "%s" LOG_TIMESTAMP_VAL LOG_FLF_VAL, __VA_ARGS__); \
- | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:309:24: note: in expansion of macro ‘LOG_IMPL’
- 309 | #define LOGLN(...) LOG_IMPL(__VA_ARGS__, "\n")
- | ^~~~~~~~
- /home/stephen/src/ollama/llm/llama.cpp/gguf/common/./log.h:545:5: note: in expansion of macro ‘LOGLN’
- 545 | LOGLN("Cmd:%s", buf.str().c_str());
- | ^~~~~
- /usr/include/stdio.h:355:12: note: in a call to function ‘int fprintf(FILE*, const char*, ...)’ declared ‘nonnull’
- 355 | extern int fprintf (FILE *__restrict __stream,
- | ^~~~~~~
- [100%] Linking CXX executable ../../bin/server
- [100%] Built target server
Advertisement
Add Comment
Please, Sign In to add comment