File: compilation-warnings.patch

package info (click to toggle)
steptalk 0.10.0-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, sid, stretch
  • size: 4,104 kB
  • ctags: 780
  • sloc: objc: 14,096; yacc: 394; makefile: 31; csh: 8; awk: 3; lisp: 3
file content (141 lines) | stat: -rw-r--r-- 4,588 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
2011-06-07  Yavor Doganov  <yavor@gnu.org>

	* Languages/Smalltalk/STCompiledMethod.h: Import
          <StepTalk/STMethod.h>.

2011-04-06  Wolfgang Lux  <wolfgang.lux@gmail.com>

        * Frameworks/StepTalk/STLanguageManager.m (-dealloc): Fix
        typo. (Was calling -dealloc on self instead of super).

2009-12-13  Yavor Doganov  <yavor@gnu.org>

	Fix some compilation warnings.
	* ApplicationScripting/Source/STScriptsPanel.m: Import
	<AppKit/NSGraphics.h>.
	* Examples/Shell/STShell.m: Include <readline/history.h>.
	* Frameworks/StepTalk/STEnvironment.m:
	* Frameworks/StepTalk/STEnvironmentDescription.m:
	* Frameworks/StepTalk/STObjCRuntime.m:
	* Languages/Smalltalk/STCompiler.m: Import
	<Foundation/NSEnumerator.h>.
	* Languages/Smalltalk/STSmalltalkScriptObject.m:
	* Modules/ObjectiveC/ObjectiveCRuntime.m: Likewise, also
	<Foundation/NSDictionary.h>.
	* Modules/ObjectiveC/NSObject+additions.m: Import
	<Foundation/NSString.h>.

--- steptalk.orig/ApplicationScripting/Source/STScriptsPanel.m
+++ steptalk/ApplicationScripting/Source/STScriptsPanel.m
@@ -32,6 +32,7 @@
 #import <AppKit/NSApplication.h>
 #import <AppKit/NSBrowser.h>
 #import <AppKit/NSBrowserCell.h>
+#import <AppKit/NSGraphics.h>
 #import <AppKit/NSMatrix.h>
 #import <AppKit/NSPopUpButton.h>
 #import <AppKit/NSWorkspace.h>
--- steptalk.orig/Examples/Shell/STShell.m
+++ steptalk/Examples/Shell/STShell.m
@@ -40,6 +40,7 @@
 #import <Foundation/NSValue.h>
 
 #include <readline/readline.h>
+#include <readline/history.h>
 
 static Class NSString_class;
 static Class NSNumber_class;
--- steptalk.orig/Frameworks/StepTalk/STEnvironment.m
+++ steptalk/Frameworks/StepTalk/STEnvironment.m
@@ -43,6 +43,7 @@
 #import <Foundation/NSBundle.h>
 #import <Foundation/NSDebug.h>
 #import <Foundation/NSDictionary.h>
+#import <Foundation/NSEnumerator.h>
 #import <Foundation/NSException.h>
 #import <Foundation/NSSet.h>
 #import <Foundation/NSString.h>
--- steptalk.orig/Frameworks/StepTalk/STEnvironmentDescription.m
+++ steptalk/Frameworks/StepTalk/STEnvironmentDescription.m
@@ -35,6 +35,7 @@
 #import <Foundation/NSArray.h>
 #import <Foundation/NSDebug.h>
 #import <Foundation/NSDictionary.h>
+#import <Foundation/NSEnumerator.h>
 #import <Foundation/NSException.h>
 #import <Foundation/NSString.h>
 #import <Foundation/NSSet.h>
--- steptalk.orig/Frameworks/StepTalk/STObjCRuntime.m
+++ steptalk/Frameworks/StepTalk/STObjCRuntime.m
@@ -31,6 +31,7 @@
 #import <Foundation/NSArray.h>
 #import <Foundation/NSDebug.h>
 #import <Foundation/NSDictionary.h>
+#import <Foundation/NSEnumerator.h>
 #import <Foundation/NSException.h>
 #import <Foundation/NSMethodSignature.h>
 #import <Foundation/NSSet.h>
--- steptalk.orig/Languages/Smalltalk/STCompiler.m
+++ steptalk/Languages/Smalltalk/STCompiler.m
@@ -42,6 +42,7 @@
 #import <Foundation/NSData.h>
 #import <Foundation/NSDebug.h>
 #import <Foundation/NSDictionary.h>
+#import <Foundation/NSEnumerator.h>
 #import <Foundation/NSException.h>
 #import <Foundation/NSValue.h>
 #import <Foundation/NSKeyValueCoding.h>
--- steptalk.orig/Languages/Smalltalk/STSmalltalkScriptObject.m
+++ steptalk/Languages/Smalltalk/STSmalltalkScriptObject.m
@@ -29,6 +29,8 @@
 
 #import <Foundation/NSArray.h>
 #import <Foundation/NSDebug.h>
+#import <Foundation/NSDictionary.h>
+#import <Foundation/NSEnumerator.h>
 #import <Foundation/NSMethodSignature.h>
 #import <Foundation/NSString.h>
 #import <Foundation/NSAutoreleasePool.h>
--- steptalk.orig/Modules/ObjectiveC/NSObject+additions.m
+++ steptalk/Modules/ObjectiveC/NSObject+additions.m
@@ -29,6 +29,7 @@
 #import <objc/objc-api.h>
 
 #import <Foundation/NSArray.h>
+#import <Foundation/NSString.h>
 
 static NSArray *methods_for_class(Class class)
 {
--- steptalk.orig/Modules/ObjectiveC/ObjectiveCRuntime.m
+++ steptalk/Modules/ObjectiveC/ObjectiveCRuntime.m
@@ -34,6 +34,8 @@
 #import <StepTalk/STSelector.h>
 
 #import <Foundation/NSArray.h>
+#import <Foundation/NSDictionary.h>
+#import <Foundation/NSEnumerator.h>
 #import <Foundation/NSString.h>
 
 static ObjectiveCRuntime *sharedRuntime=nil;
--- steptalk.orig/Frameworks/StepTalk/STLanguageManager.m
+++ steptalk/Frameworks/StepTalk/STLanguageManager.m
@@ -50,7 +50,7 @@
     RELEASE(languageInfos);
     RELEASE(languageBundles);
     RELEASE(fileTypes);
-    [self dealloc];
+    [super dealloc];
 }
 - (void) _registerKnownLanguages
 {
--- steptalk.orig/Languages/Smalltalk/STCompiledMethod.h
+++ steptalk/Languages/Smalltalk/STCompiledMethod.h
@@ -22,7 +22,7 @@
 
 #import "STCompiledCode.h"
 
-@protocol STMethod;
+#import <StepTalk/STMethod.h>
 
 @class STMessage;