When compiling Visual Studio 2010, I included the python2.5 directory. There is code in the _types.h file:
#ifndef __off64_t_defined __extension__ typedef long long _off64_t; #endif
with extension error:
There is no storage class or type specifier in this declaration.
What's wrong?
To quote the GCC manual:
`-pedantic' and other options cause warnings for many GNU C extensions. You can prevent such warnings within one expression by writing `__extension__' before the expression. `__extension__' has no effect aside from this.
I would say that you can just ignore it for VC2010. So just define it as nothing.
#define __extension__
Without knowing more, I canβt guess what side effects this can have, but you can try:
This will make the pre-processor replace all occurrences of the word with nothing.
, , include, - . , , ? , , , , .
Source: https://habr.com/ru/post/1776233/More articles:How to safely create queries in ADO.NET where tables are selected from the changes? - c #Unit testing with mockito (partial mockery) - javaOnLongClick with text view and text editing - androidUsing Oracle SQL CE Database in .NET CF - c #ternary operator - performanceimage size on Objective-c, - iphoneuse of external libraries in Qt / Symbian - qtAverage performance for local IPCs - performancePDO - get result of COUNT (*)? - phpHow to remove Hibernate @Embeddables containing nullable fields? - javaAll Articles