Modify

Opened 15 years ago

Closed 15 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 by mvg, 15 years ago

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 by TicketCleanup, 15 years ago

Version: Other

Automatic ticket cleanup.

in reply to:  1 ; comment:3 by anonymous, 15 years ago

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?

in reply to:  3 ; comment:4 by anonymous, 15 years ago

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

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

in reply to:  4 comment:5 by Jaberwocky6669, 15 years ago

Replying to anonymous:

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

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

comment:6 by Jos, 15 years ago

Resolution: No Bug
Status: newclosed

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

Jos

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.