Modify

Opened 8 years ago

Closed 7 years ago

#2192 closed Bug (Fixed)

New API...au3 include files conflict

Reported by: Jpm Owned by: guinness
Milestone: 3.3.9.5 Component: Standard UDFs
Version: 3.3.9.4 Severity: None
Keywords: Cc:

Description

If all Include files are included see attached file conflicts occur with previous one

>Running AU3Check (3.3.9.4)  params:-d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:C:\Program Files\AutoIt3\beta
"C:\Program Files\AutoIt3\beta\Include\APIErrors.au3"(506,146) : error: $ERROR_NO_TOKEN previously declared as a 'Const'.
Global Const $ERROR_NO_TOKEN = 1008                                               ; An attempt was made to reference a token that does not exist.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(223,39) : error: $FR_FINDNEXT previously declared as a 'Const'.
Global Const $FR_FINDNEXT = 0x00000008
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(224,38) : error: $FR_REPLACE previously declared as a 'Const'.
Global Const $FR_REPLACE = 0x00000010
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(225,41) : error: $FR_REPLACEALL previously declared as a 'Const'.
Global Const $FR_REPLACEALL = 0x00000020
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(226,41) : error: $FR_DIALOGTERM previously declared as a 'Const'.
Global Const $FR_DIALOGTERM = 0x00000040
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(227,39) : error: $FR_SHOWHELP previously declared as a 'Const'.
Global Const $FR_SHOWHELP = 0x00000080
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(228,41) : error: $FR_ENABLEHOOK previously declared as a 'Const'.
Global Const $FR_ENABLEHOOK = 0x00000100
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(229,45) : error: $FR_ENABLETEMPLATE previously declared as a 'Const'.
Global Const $FR_ENABLETEMPLATE = 0x00000200
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(233,51) : error: $FR_ENABLETEMPLATEHANDLE previously declared as a 'Const'.
Global Const $FR_ENABLETEMPLATEHANDLE = 0x00002000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(234,41) : error: $FR_HIDEUPDOWN previously declared as a 'Const'.
Global Const $FR_HIDEUPDOWN = 0x00004000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(235,44) : error: $FR_HIDEMATCHCASE previously declared as a 'Const'.
Global Const $FR_HIDEMATCHCASE = 0x00008000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\RichEditConstants.au3"(236,44) : error: $FR_HIDEWHOLEWORD previously declared as a 'Const'.
Global Const $FR_HIDEWHOLEWORD = 0x00010000
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\NamedPipes.au3"(26,39) : error: $FILE_FLAG_OVERLAPPED previously declared as a 'Const'.
Global Const $FILE_FLAG_OVERLAPPED = 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Program Files\AutoIt3\beta\Include\NamedPipes.au3"(27,42) : error: $FILE_FLAG_WRITE_THROUGH previously declared as a 'Const'.
Global Const $FILE_FLAG_WRITE_THROUGH = 4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Attachments (1)

MustDeclareAllIncludes.au3 (2.7 KB) - added by Jpm 8 years ago.

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by Jpm

comment:1 Changed 8 years ago by Jpm

  • Version changed from 3.3.8.1 to 3.3.9.4

comment:2 Changed 8 years ago by trancexx

  • Component changed from AutoIt to Standard UDFs

comment:3 Changed 7 years ago by guinness

  • Milestone set to 3.3.9.5
  • Owner set to guinness
  • Resolution set to Fixed
  • Status changed from new to closed

Fixed by revision [7128] in version: 3.3.9.5

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The owner will remain guinness.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.