-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inital port for linux #2
base: master
Are you sure you want to change the base?
Conversation
@@ -454,7 +454,7 @@ int Q_vsnprintf( char *buffer, size_t buffersize, const char *format, va_list ar | |||
{ | |||
size_t result; | |||
|
|||
result = _vsnprintf( buffer, buffersize, format, args ); | |||
result = vsnprintf( buffer, buffersize, format, args ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Лучше такое в #ifdef _WIN32 оборачивать.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
я знаю, но там всего лишь warning
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Под msvc6?
Это расширение MS.
vsnprintf в С99 ввели.
Можно обойтись дефайном же.
#ifndef _WIN32
#define _vsnprintf vsnprintf
#endif // _WIN32
или опцию сборки добавить -D_vsnprintf=vsnprintf.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Это win32-only варнинг
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Интересно, какая реакция будет на warning о пропущенном виртуальном деструкторе или вызове delete без квадратных скобок для динамического массива?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Интересно, какая реакция будет на warning о пропущенном виртуальном деструкторе или вызове delete без квадратных скобок для динамического массива?
Вообще у меня уже давно порт был. Просто я его не выклвдывал, да и он чутка грязноват -- я начал делать VBO рендерер по просьбе ДМ и так не осилил доделать. |
Done. |
pyc закидывать не надо. Это файлы создаваемые питоном в процессе работы. Удали и в .gitignore. |
Я уже удалил, щас закину в .gitignore. |
No description provided.