ou est le probleme ? idcompilerdefines.inc

ou est le probleme ? idcompilerdefines.inc - Algo - Programmation

Marsh Posté le 30-11-2006 à 13:15:20    

salut tout le monde,
j'ai un problme dans ce bout de code et j'arrive pas à le trouver !
 
 
en voulant compiler un projet qui contient des composants indy, une autre page s'ouvre indiquant un bug dans  
 
idcompilerdefines.inc

Code :
  1. // General
  2. // Make this $DEFINE to use the 16 color icons required by Borland
  3. // or DEFINE to use the 256 color Indy versions
  4. {DEFINE Borland}
  5. //Widget defines are for the design-time GUI and TIdAntiFreeze
  6. // S.G. 4/9/2002: IPv4/IPv6 general switch (for defaults only)
  7. {$DEFINE IdIPv4}
  8. {$DEFINE INDY100}
  9. {$IFDEF BCB}
  10.   {$DEFINE CBUILDER}
  11. {$ELSE}
  12.   {$DEFINE DELPHI}
  13. {$ENDIF}
  14. // Delphi 4
  15. {$IFDEF VER120}
  16.    {$define win32_or_win64}
  17.   {$DEFINE VCL4ORABOVE}
  18.   {$DEFINE VCL40}
  19.   {$DEFINE DELPHI4}
  20.   {$DEFINE OPTIONALPARAMS}
  21.   {$DEFINE MSWINDOWS}
  22.   {$DEFINE WIN32}
  23.   {$define i386}
  24.   {$define ENDIAN_LITTLE}
  25.   {$define CPU32}
  26. {$ENDIF}
  27. // C++ Builder 4
  28. {$IFDEF VER125}
  29.    {$define win32_or_win64}
  30.   {$DEFINE VCL4ORABOVE}
  31.   {$DEFINE VCL40}
  32.   {$DEFINE CBUILDER4}
  33.   {$DEFINE OPTIONALPARAMS}
  34.   {$DEFINE MSWINDOWS}
  35.   {$DEFINE WIN32}
  36.   {$define i386}
  37.   {$define ENDIAN_LITTLE}
  38.   {$define CPU32}
  39. {$ENDIF}
  40. // Delphi 5 & CBuilder 5
  41. {$IFDEF VER130}
  42.    {$define win32_or_win64}
  43.   {$DEFINE VCL4ORABOVE}
  44.   {$DEFINE VCL5ORABOVE}
  45.   {$DEFINE VCL5}
  46.   {$IFDEF BCB}
  47.     {$DEFINE CBUILDER5}
  48.   {$ELSE}
  49.     {$DEFINE DELPHI5}
  50.   {$ENDIF}
  51.   {$DEFINE OPTIONALPARAMS}
  52.   {$DEFINE SAMETEXT}
  53.   {$DEFINE MSWINDOWS}
  54.   {$DEFINE WIN32}
  55.   {$define i386}
  56.   {$define ENDIAN_LITTLE}
  57.   {$define CPU32}
  58. {$ENDIF}
  59. //Delphi 6
  60. {$IFDEF VER140}
  61.    {$define win32_or_win64}
  62.   {$DEFINE VCL4ORABOVE}
  63.   {$DEFINE VCL5ORABOVE}
  64.   {$IFDEF BCB}
  65.     {$DEFINE CBUILDER6}
  66.     {$DEFINE ALLOW_NAMED_THREADS}
  67.   {$ELSE}
  68.     {$DEFINE DELPHI6}
  69.   {$ENDIF}
  70.   {$DEFINE OPTIONALPARAMS}
  71.   {$DEFINE SAMETEXT}
  72.   {$DEFINE VCL6ORABOVE}
  73.   {$DEFINE VCL60}
  74.   {$DEFINE TFormatSettings}
  75.   {$DEFINE WIN32}
  76.   {$define i386}
  77.   {$define ENDIAN_LITTLE}
  78.   {$define CPU32}
  79. {$ENDIF}
  80. //Delphi 7
  81. {$IFDEF VER150}
  82.    {$define win32_or_win64}
  83.   {$DEFINE VCL4ORABOVE}
  84.   {$DEFINE VCL5ORABOVE}
  85.   {$DEFINE VCL6ORABOVE}
  86.   {$DEFINE VCL7ORABOVE}
  87.   {$DEFINE VCL70}
  88.   {$IFDEF BCB}
  89.     {$DEFINE CBUILDER7}
  90.   {$ELSE}
  91.     {$DEFINE DELPHI7}
  92.   {$ENDIF}
  93.   {$DEFINE OPTIONALPARAMS}
  94.   {$DEFINE SAMETEXT}
  95.   {$DEFINE ALLOW_NAMED_THREADS}
  96.   {$DEFINE WIN32}
  97.   {$DEFINE TFormatSettings}
  98.   {$define i386}
  99.   {$define E[#ff0000]NDIAN_LITTLE}
  100.   {$define CPU32}
  101. {$ENDIF}
  102. //Delphi 8
  103. {$IFDEF VER160}
  104.   {$DEFINE VCL4ORABOVE}
  105.   {$DEFINE VCL5ORABOVE}
  106.   {$DEFINE VCL6ORABOVE}
  107.   {$DEFINE VCL7ORABOVE}
  108.   {$DEFINE VCL8ORABOVE}
  109.   {$DEFINE VCL80}
  110.   {$DEFINE DELPHI8}
  111.   {$DEFINE OPTIONALPARAMS}
  112.   {$DEFINE SAMETEXT}
  113.   {$DEFINE ALLOW_NAMED_THREADS}
  114.   {$DEFINE TFormatSettings}
  115.   {$define i386}
  116.   {$define ENDIAN_LITTLE}
  117.   {$define CPU32}
  118. //Widget defines are omitted since D8 only supports NET
  119. {$ENDIF}
  120. //Delphi 9
  121. {$IFDEF VER170}
  122.    {$define win32_or_win64}
  123.   {$DEFINE VCL4ORABOVE}
  124.   {$DEFINE VCL5ORABOVE}
  125.   {$DEFINE VCL6ORABOVE}
  126.   {$DEFINE VCL7ORABOVE}
  127.   {$DEFINE VCL8ORABOVE}
  128.   {$DEFINE VCL9ORABOVE}
  129.   {$DEFINE VCL90}
  130.   {$DEFINE DELPHI9}
  131.   {$DEFINE OPTIONALPARAMS}
  132.   {$DEFINE SAMETEXT}
  133.   {$DEFINE ALLOW_NAMED_THREADS}
  134.   {$DEFINE TFormatSettings}
  135.   {$define i386}
  136.   {$define ENDIAN_LITTLE}
  137.   {$define CPU32}
  138. {$ENDIF}
  139. //Delphi 10
  140. {$IFDEF VER180}
  141.    {$define win32_or_win64}
  142.   {$DEFINE VCL4ORABOVE}
  143.   {$DEFINE VCL5ORABOVE}
  144.   {$DEFINE VCL6ORABOVE}
  145.   {$DEFINE VCL7ORABOVE}
  146.   {$DEFINE VCL8ORABOVE}
  147.   {$DEFINE VCL9ORABOVE}
  148.   {$DEFINE VCL10ORABOVE}
  149.   {$DEFINE VCL10}
  150.   {$DEFINE DELPHI10}
  151.   {$DEFINE OPTIONALPARAMS}
  152.   {$DEFINE SAMETEXT}
  153.   {$DEFINE ALLOW_NAMED_THREADS}
  154.   {$DEFINE TFormatSettings}
  155.   {$define i386}
  156.   {$define ENDIAN_LITTLE}
  157.   {$define CPU32}
  158. {$ENDIF}
  159. //Delphi 11
  160. {$IFDEF VER190}
  161.    {$define win32_or_win64}
  162.   {$DEFINE VCL4ORABOVE}
  163.   {$DEFINE VCL5ORABOVE}
  164.   {$DEFINE VCL6ORABOVE}
  165.   {$DEFINE VCL7ORABOVE}
  166.   {$DEFINE VCL8ORABOVE}
  167.   {$DEFINE VCL9ORABOVE}
  168.   {$DEFINE VCL10ORABOVE}
  169.   {$DEFINE VCL11ORABOVE}
  170.   {$DEFINE VCL11}
  171.   {$DEFINE DELPHI11}
  172.   {$DEFINE OPTIONALPARAMS}
  173.   {$DEFINE SAMETEXT}
  174.   {$DEFINE ALLOW_NAMED_THREADS}
  175.   {$DEFINE TFormatSettings}
  176.   {$DEFINE FPC_CircularBug}
  177.   {$define i386}
  178.   {$define ENDIAN_LITTLE}
  179.   {$define CPU32}
  180. {$ENDIF}
  181. //Delphi.NET
  182. // Covers D8+
  183. {$IFDEF CIL}
  184.   // Platform specific conditional. Used for platform specific code.
  185.   {$DEFINE DotNet}
  186.   // Extra include used in D7 for testing. Remove later when all comps are
  187.   // ported. Used to selectively exclude non ported parts. Allowed in places
  188.   // IFDEFs are otherwise not permitted.
  189.   {$DEFINE DotNetExclude}
  190.   {$define i386}
  191.   {$define ENDIAN_LITTLE}
  192.   {$define CPU32}
  193.   {$define WidgetWinForms}
  194. {$ENDIF}
  195. // FPC (2+)
  196. {$IFDEF FPC}
  197.   {$MODE Delphi}
  198.   {$IFDEF UNIX}
  199.      {$IFDEF LINUX}
  200.      //In Linux, you can either use USELIBC or USEBASEUNIX.
  201.      //If you choose USELIBC, you need to modify the Makefile.fpc in
  202.      //in the System folder and generate the Makefile (preferably with the
  203.      //complete source tree.
  204.         {.$DEFINE USELIBC}
  205.         {$DEFINE USEBASEUNIX}
  206.      {$ELSE}
  207.         {$DEFINE USEBASEUNIX}
  208.      {$ENDIF}
  209.   {$ENDIF}
  210.   {$IF defined(win32) or defined(win64)}
  211.     {$define win32_or_win64}
  212.   {$ifend}
  213.   //so we can use IdWinsock2 in WinCE, maybe in other places in Indy as well -CYA
  214.   {$IF defined(wince)}
  215.     {$DEFINE UNICODE} //CE is UNICODE ONLY
  216.     {$define win32_or_win64_or_winCE}
  217.   {$ENDIF}
  218.   {$DEFINE VCL4ORABOVE}
  219.   {$DEFINE VCL5ORABOVE}
  220.   {$DEFINE VCL6ORABOVE}
  221.   {$DEFINE VCL7ORABOVE}
  222.   {$DEFINE VCL70}
  223.   {$DEFINE DELPHI7}
  224.   {$DEFINE OPTIONALPARAMS}
  225.   {$DEFINE SAMETEXT}
  226.   {$DEFINE ALLOW_NAMED_THREADS}
  227.   {$DEFINE NO_TMultiReadExclusiveWriteSynchronizer}
  228.    {$DEFINE FPC_REINTRODUCE_BUG}
  229.    {$DEFINE FPC_CircularBug}
  230.    {$DEFINE NoRedeclare}
  231.    {$DEFINE ByteCompareSets}
  232. {$ENDIF}
  233. // Kylix
  234. //
  235. //Important:  Don't use CompilerVersion here as
  236. // $ IF's are evaluated before $ IFDEF's
  237. //and Kylix 1 does not have CompilerVersion defined at all.
  238. {$IFNDEF FPC}
  239.   {$IFDEF LINUX}
  240.     {$DEFINE USELIBC}
  241.     {$DEFINE UNIX}
  242.     {$IFDEF CONDITIONALEXPRESSIONS}
  243.       {$IF RTLVersion = 14.0}
  244.         {$DEFINE KYLIX1}
  245.         {$DEFINE KYLIX}
  246.         {$DEFINE KYLIX1ORABOVE}
  247.       {$IFEND}
  248.       {$IF RTLVersion = 14.2}
  249.         {$DEFINE KYLIX2}
  250.         {$DEFINE KYLIX}
  251.         {$DEFINE USEZLIBUNIT}
  252.         {$DEFINE KYLIX1ORABOVE}
  253.         {$DEFINE KYLIX2ORABOVE}
  254.       {$IFEND}
  255.       {$IF RTLVersion = 14.5}
  256.         {$DEFINE KYLIX3}
  257.         {$DEFINE KYLIX}
  258.         {$DEFINE USEZLIBUNIT}
  259.         {$DEFINE KYLIX1ORABOVE}
  260.         {$DEFINE KYLIX2ORABOVE}
  261.         {$DEFINE KYLIX3ORABOVE}
  262.       {$IFEND}
  263.    
  264.     {$ENDIF}
  265.     {$IFDEF WIN32}
  266.       {$DEFINE VCL4ORABOVE}
  267.       {$DEFINE VCL5ORABOVE}
  268.       {$DEFINE OPTIONALPARAMS}
  269.       {$DEFINE SAMETEXT}
  270.       {$DEFINE VCL6ORABOVE}
  271.       {$DEFINE VCL60}
  272.       {$define i386}
  273.       {$define ENDIAN_LITTLE}
  274.       {$define CPU32}
  275.       {$define IntThreadPriority} //it's an integer, not enum
  276.     {$ENDIF}
  277.   {$ENDIF}
  278. {$ENDIF}
  279. {$ifdef win32_or_win64}
  280.    {$define win32_or_win64_or_winCE}
  281. {$endif}


MERCI D'AVANCE


Message édité par sad bloke le 30-11-2006 à 13:18:27

---------------
http://www.deezer.com/track/1115801 Qu'est ce que la vie ? :(
Reply

Marsh Posté le 30-11-2006 à 13:15:20   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed