Modify

Opened 14 years ago

Closed 14 years ago

#1779 closed Bug (No Bug)

AutoIt Include Files Missing Includes?

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Other Severity: None
Keywords: Cc:

Description

I went through the AutoIt Includes tonight with the OrganizeIncludes script with which you may be familiar and I think I may have found quite a few includes which were themselves missing some includes. Maybe they are false positives, a bug in the OrganizeIncludes script, or just me misintrepreting the results. I hope that I don't look like a complete brainless moran.

Anyways, here is the list of includes and their missing includes:

Date.au3

#include <SecurityConstants.au3>
#include <WinAPIError.au3>

Debug.au3

#include <Constants.au3>
#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

FTPEx.au3

#include <WinAPI.au3>

GuiButton.au3

#include <StructureConstants.au3>

GuiComboBox.au3

#include <WindowsConstants.au3>

GuiComboBoxEx.au3

#include <ComboConstants.au3>
#include <SendMessage.au3>
#include <StructureConstants.au3>
#include <WinAPI.au3>
#include <WindowsConstants.au3>

GuiEdit.au3

#include <StructureConnstants.au3>

GuiImageList.au3

#include <WinAPIError.au3>

GuiListBox.au3

#include <WindowsConstants.au3>
#include <StructureConstants.au3>

GuiListView.au3

#include <HeaderConstants.au3>
#include <ImageListConstants.au3>

GuiRichEdit.au3

#include <Memory.au3>

GuiStatusBar.au3

#include <StructureConstants.au3>

GuiTab.au3

#include <StructureConstants.au3>

Memory.au3

#include <SecurityConstants.au3>

Misc.au3

#include "MemoryConstants.au3>

ScreenCapture.au3

#include <GDIPlusConstants.au3>

SQLite.au3

#include <SQLite.dll.au3>

WinAPI.au3

#include <SecurityConstants.au3>

Attachments (0)

Change History (6)

comment:1 follow-up: Changed 14 years ago by mvg

Why would (for example) Date.au3 have to explicit include
#include <WinAPIError.au3>
When WinAPIError.au3 is indirectly included by the
#include "WinAPI.au3"
in Date.au3
?

Seems more like a OrganizeIncludes limit in relation to secondary (and deeper) include use to me.

comment:2 Changed 14 years ago by TicketCleanup

  • Version set to Other

Automatic ticket cleanup.

comment:3 in reply to: ↑ 1 ; follow-up: Changed 14 years ago by anonymous

Replying to mvg:

Why would (for example) Date.au3 have to explicit include
#include <WinAPIError.au3>
When WinAPIError.au3 is indirectly included by the
#include "WinAPI.au3"
in Date.au3
?

Seems more like a OrganizeIncludes limit in relation to secondary (and deeper) include use to me.

Oh I see. I wonder if that can explain the other missing includes?

comment:4 in reply to: ↑ 3 ; follow-up: Changed 14 years ago by anonymous

Oh I see. I wonder if that can explain the other missing includes?

Yes it can. Please erase this ticket from your mind.

comment:5 in reply to: ↑ 4 Changed 14 years ago by Jaberwocky6669

Replying to anonymous:

Yes it can. Please erase this ticket from your mind.

No, actually it doesn't. Check out Debug.au3.

comment:6 Changed 14 years ago by Jos

  • Resolution set to No Bug
  • Status changed from new to closed

All UDF include files are run through au3check before they are published. AU3Check would for sure give Errors when Includes would be missing.

Jos

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 ticket will remain with no owner.
Author


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

 
Note: See TracTickets for help on using tickets.