Integer Posted November 8, 2012 Report Share Posted November 8, 2012 Witam. Na podstawie przykładu z : http://4programmers.net/Delphi/Inline Jak w temacie: jak użyć, gdzie wstawić dyrektywy auto inline, wstawiałem {$INLINE AUTO} chyba wszędzie i nie chce mi normalnie skompilować. samo INLINE przy procedurze działa. Ktoś ma wiedzę jak tego użyć w delphi 2007? Z góry dzięki. Pozdrawiam Link to comment Share on other sites More sharing options...
5corpio Posted November 9, 2012 Report Share Posted November 9, 2012 Może spróbuj tak jak np. jest tu opisane: http://stackoverflow.com/questions/1811654/delphi-2010-inlining-useless ustawić inline w "Compiler -> Compiling -> Code Generation" ? Ot taka mini-strona moja po godzinach http://www.wnetrzekuchni.pl Link to comment Share on other sites More sharing options...
Integer Posted November 9, 2012 Author Report Share Posted November 9, 2012 Ok, działa wstawiłem po Unit >, Mam pytanie bo mimo że już się kompiluje to jeszcze w "Structure" danych (nie w Messages) mam taki Warning: "Invalid compiler directive: 'INLINE' at line 2". Domyślam się, że właśnie gdzieś w opcjach jest kruczek jednak we wskazanym miejscu nie ma tego: "Code inlining control" -> Project Options, Delphi Compiler -> Compiling -> Code Generation, turn "Code inlining control" to Auto Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.