Opened on Oct 3, 2010 at 7:13:53 AM
Closed on Oct 3, 2010 at 1:08:20 PM
#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)
follow-up: 3 comment:1 by , on Oct 3, 2010 at 8:37:20 AM
follow-up: 4 comment:3 by , on Oct 3, 2010 at 11:20:10 AM
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?
follow-up: 5 comment:4 by , on Oct 3, 2010 at 11:25:37 AM
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 by , on Oct 3, 2010 at 11:27:55 AM
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 , on Oct 3, 2010 at 1:08:20 PM
| Resolution: | → No Bug |
|---|---|
| Status: | new → 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

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.