Re: [code] [textadept] Textadept 5.5 beta

From: Bill Meahan <wmeahan94.att.gmail.com>
Date: Sat, 07 Jul 2012 10:46:49 -0400

On 07/06/2012 21:43, Mitchell wrote:

[snip]

Edited Makefile to use clang instead of gcc

6,7c6,7
< CC = clang
< CPP = clang++

---
 > CC = gcc
 > CPP = g++
22c22
< #LDL = -ldl
---
 > LDL =
wwm.att.Linden$ gmake BSD=1
clang++ -DNDEBUG -pedantic -Os -DGTK -D__BSD__ -DSCI_LEXER 
-Iscintilla/include -Ilua/src -Igcocoadialog -Iscintilla/src 
-Iscintilla/gtk -Iscintilla/lexlib -Wall -Wno-missing-braces 
-Wno-char-subscripts -Wno-long-long -D_THREAD_SAFE -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 
-I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include/libpng15   -c scintilla/gtk/ScintillaGTK.cxx 
scintilla/gtk/PlatGTK.cxx scintilla/src/CallTip.cxx 
scintilla/src/CellBuffer.cxx scintilla/src/Editor.cxx 
scintilla/src/UniConversion.cxx scintilla/src/PerLine.cxx 
scintilla/src/Selection.cxx scintilla/src/Style.cxx 
scintilla/src/ContractionState.cxx scintilla/src/AutoComplete.cxx 
scintilla/src/Indicator.cxx scintilla/src/ScintillaBase.cxx 
scintilla/src/Document.cxx scintilla/src/KeyMap.cxx 
scintilla/src/Decoration.cxx scintilla/src/CharClassify.cxx 
scintilla/src/ViewStyle.cxx scintilla/src/LineMarker.cxx 
scintilla/src/RESearch.cxx scintilla/src/ExternalLexer.cxx 
scintilla/src/PositionCache.cxx scintilla/src/RunStyles.cxx 
scintilla/src/XPM.cxx scintilla/src/Catalogue.cxx 
scintilla/lexlib/PropSetSimple.cxx 
scintilla/lexlib/LexerNoExceptions.cxx scintilla/lexlib/WordList.cxx 
scintilla/lexlib/CharacterSet.cxx scintilla/lexlib/LexerSimple.cxx 
scintilla/lexlib/StyleContext.cxx scintilla/lexlib/LexerBase.cxx 
scintilla/lexlib/Accessor.cxx scintilla/lexlib/LexerModule.cxx
clang -DNDEBUG -pedantic -Os -DGTK -D__BSD__ -DSCI_LEXER 
-Iscintilla/include -Ilua/src -Igcocoadialog -Iscintilla/src 
-Iscintilla/gtk -Iscintilla/lexlib -Wall -Wno-missing-braces 
-Wno-char-subscripts -Wno-long-long -D_THREAD_SAFE -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 
-I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include/libpng15   -w -c scintilla/gtk/scintilla-marshal.c
clang++ -DNDEBUG -pedantic -Os -DGTK -D__BSD__ -DSCI_LEXER 
-Iscintilla/include -Ilua/src -Igcocoadialog -Iscintilla/src 
-Iscintilla/gtk -Iscintilla/lexlib -Wall -Wno-missing-braces 
-Wno-char-subscripts -Wno-long-long -D_THREAD_SAFE -D_REENTRANT 
-I/usr/local/include/gtk-2.0 -I/usr/local/include/atk-1.0 
-I/usr/local/include/cairo -I/usr/local/include/gdk-pixbuf-2.0 
-I/usr/local/include/pango-1.0 -I/usr/local/include/gio-unix-2.0/ 
-I/usr/local/include -I/usr/local/include/glib-2.0 
-I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 
-I/usr/local/include/libpng15   -DLUA_USE_LINUX -DLPEG_LEXER -DNO_SCITE 
-c LexLPeg.cxx -o LexLPeg.o
LexLPeg.cxx:375:3: warning: delete called on 'LexerLPeg' that has virtual
       functions but non-virtual destructor [-Wdelete-non-virtual-dtor]
                 delete this;
                 ^
1 warning generated.
clang -std=c99 -DNDEBUG  -DSINGLE_INSTANCE -O -DGTK -D__BSD__ 
-Iscintilla/include -Ilua/src -Igcocoadialog -W -Wall -Wno-sign-compare 
-Wno-unused -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2 -I/usr/local/include/libpng15   -c 
textadept.c -o textadept.o
textadept.c:460:44: warning: unused parameter '_' [-Wunused-parameter]
static void s_notify(GtkWidget *view, gint _, gpointer lParam, gpointer 
__) {
                                            ^
textadept.c:460:73: warning: unused parameter '__' [-Wunused-parameter]
static void s_notify(GtkWidget *view, gint _, gpointer lParam, gpointer 
__) {
                                                                         ^
textadept.c:477:62: warning: unused parameter '_' [-Wunused-parameter]
static void s_command(GtkWidget *view, gint wParam, gpointer _, gpointer 
__) {
                                                              ^
textadept.c:477:74: warning: unused parameter '__' [-Wunused-parameter]
static void s_command(GtkWidget *view, gint wParam, gpointer _, gpointer 
__) {
                                                                          ^
textadept.c:484:39: warning: unused parameter 'view' [-Wunused-parameter]
static gboolean s_keypress(GtkWidget *view, GdkEventKey *event, gpointer 
_) {
                                       ^
textadept.c:484:74: warning: unused parameter '_' [-Wunused-parameter]
static gboolean s_keypress(GtkWidget *view, GdkEventKey *event, gpointer 
_) {
                                                                          ^
textadept.c:495:41: warning: unused parameter '_' [-Wunused-parameter]
static gboolean s_buttonpress(GtkWidget*_, GdkEventButton *event, 
gpointer __) {
                                         ^
textadept.c:495:76: warning: unused parameter '__' [-Wunused-parameter]
static gboolean s_buttonpress(GtkWidget*_, GdkEventButton *event, 
gpointer __) {
 
     ^
textadept.c:504:35: warning: unused parameter '_' [-Wunused-parameter]
static gboolean w_focus(GtkWidget*_, GdkEventFocus *event, gpointer __) {
                                   ^
textadept.c:504:53: warning: unused parameter 'event' [-Wunused-parameter]
static gboolean w_focus(GtkWidget*_, GdkEventFocus *event, gpointer __) {
                                                     ^
textadept.c:504:69: warning: unused parameter '__' [-Wunused-parameter]
static gboolean w_focus(GtkWidget*_, GdkEventFocus *event, gpointer __) {
                                                                     ^
textadept.c:515:38: warning: unused parameter '_' [-Wunused-parameter]
static gboolean w_keypress(GtkWidget*_, GdkEventKey *event, gpointer __) {
                                      ^
textadept.c:515:70: warning: unused parameter '__' [-Wunused-parameter]
static gboolean w_keypress(GtkWidget*_, GdkEventKey *event, gpointer __) {
                                                                      ^
textadept.c:530:34: warning: unused parameter '_' [-Wunused-parameter]
static gboolean w_exit(GtkWidget*_, GdkEventAny*__, gpointer ___) {
                                  ^
textadept.c:530:49: warning: unused parameter '__' [-Wunused-parameter]
static gboolean w_exit(GtkWidget*_, GdkEventAny*__, gpointer ___) {
                                                 ^
textadept.c:530:62: warning: unused parameter '___' [-Wunused-parameter]
static gboolean w_exit(GtkWidget*_, GdkEventAny*__, gpointer ___) {
                                                              ^
textadept.c:542:41: warning: unused parameter 'app' [-Wunused-parameter]
static int a_command_line(GApplication *app, GApplicationCommandLine 
*cmdline,
                                         ^
textadept.c:543:36: warning: unused parameter '_' [-Wunused-parameter]
                           gpointer _) {
                                    ^
textadept.c:699:51: warning: unused parameter '_' [-Wunused-parameter]
static void f_clicked(GtkWidget *button, gpointer _) {
                                                   ^
textadept.c:726:44: warning: unused parameter '_' [-Wunused-parameter]
static int cc_matchfunc(GtkEntryCompletion*_, const char *__, 
GtkTreeIter*___,
                                            ^
textadept.c:726:59: warning: unused parameter '__' [-Wunused-parameter]
static int cc_matchfunc(GtkEntryCompletion*_, const char *__, 
GtkTreeIter*___,
                                                           ^
textadept.c:726:75: warning: unused parameter '___' [-Wunused-parameter]
static int cc_matchfunc(GtkEntryCompletion*_, const char *__, 
GtkTreeIter*___,
                                                                           ^
textadept.c:727:34: warning: unused parameter '____' [-Wunused-parameter]
                         gpointer ____) { return 1; }
                                  ^
textadept.c:733:53: warning: unused parameter '_' [-Wunused-parameter]
static gboolean cc_matchselected(GtkEntryCompletion*_, GtkTreeModel *model,
                                                     ^
textadept.c:734:62: warning: unused parameter '__' [-Wunused-parameter]
                                  GtkTreeIter *iter, gpointer __) {
                                                              ^
textadept.c:758:51: warning: unused parameter '_' [-Wunused-parameter]
static void c_activate(GtkWidget *entry, gpointer _) {
                                                   ^
textadept.c:766:38: warning: unused parameter '_' [-Wunused-parameter]
static gboolean c_keypress(GtkWidget*_, GdkEventKey *event, gpointer __) {
                                      ^
textadept.c:766:70: warning: unused parameter '__' [-Wunused-parameter]
static gboolean c_keypress(GtkWidget*_, GdkEventKey *event, gpointer __) {
                                                                      ^
textadept.c:1863:34: warning: unused parameter 'menu' [-Wunused-parameter]
static void m_clicked(GtkWidget *menu, gpointer id) {
                                  ^
textadept.c:1885:29: warning: unused parameter 'L' [-Wunused-parameter]
static int lquit(lua_State *L) {
                             ^
textadept.c:1937:35: warning: unused parameter 'L' [-Wunused-parameter]
static int lfind_focus(lua_State *L) {
                                   ^
textadept.c:1949:34: warning: unused parameter 'L' [-Wunused-parameter]
static int lfind_next(lua_State *L) {
                                  ^
textadept.c:1953:34: warning: unused parameter 'L' [-Wunused-parameter]
static int lfind_prev(lua_State *L) {
                                  ^
textadept.c:1957:37: warning: unused parameter 'L' [-Wunused-parameter]
static int lfind_replace(lua_State *L) {
                                     ^
textadept.c:1961:41: warning: unused parameter 'L' [-Wunused-parameter]
static int lfind_replace_all(lua_State *L) {
                                         ^
textadept.c:1965:33: warning: unused parameter 'L' [-Wunused-parameter]
static int lce_focus(lua_State *L) {
                                 ^
36 warnings generated.
clang -DLUA_USE_LINUX -Iscintilla/include -Ilua/src -Igcocoadialog -c 
lua/src/ldump.c lua/src/lfunc.c lua/src/lgc.c lua/src/lapi.c 
lua/src/lopcodes.c lua/src/lcorolib.c lua/src/lundump.c 
lua/src/ltablib.c lua/src/lvm.c lua/src/lauxlib.c lua/src/lstring.c 
lua/src/lbitlib.c lua/src/ltm.c lua/src/ldblib.c lua/src/llex.c 
lua/src/lbaselib.c lua/src/lzio.c lua/src/lobject.c lua/src/lstrlib.c 
lua/src/lstate.c lua/src/lctype.c lua/src/lmathlib.c lua/src/linit.c 
lua/src/loadlib.c lua/src/ldo.c lua/src/ldebug.c lua/src/lcode.c 
lua/src/loslib.c lua/src/lmem.c lua/src/lparser.c lua/src/liolib.c 
lua/src/ltable.c lua/src/lib/lfs.c lua/src/lib/lpeg.c
clang -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 
-I/usr/local/include/atk-1.0 -I/usr/local/include/cairo 
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/pango-1.0 
-I/usr/local/include/gio-unix-2.0/ -I/usr/local/include 
-I/usr/local/include/glib-2.0 -I/usr/local/include/pixman-1 
-I/usr/local/include/freetype2 -I/usr/local/include/libpng15   -DNOHELP 
-DLIBRARY -Iscintilla/include -Ilua/src -Igcocoadialog -c 
gcocoadialog/gcocoadialog.c
gcocoadialog/gcocoadialog.c:464:39: warning: '&&' within '||'
       [-Wlogical-op-parentheses]
         if (type >= GCDIALOG_INPUTBOX &&
             ~~~~~~~~~~~~~~~~~~~~~~~~~~^~
gcocoadialog/gcocoadialog.c:464:39: note: place parentheses around the '&&'
       expression to silence this warning
         if (type >= GCDIALOG_INPUTBOX &&
                                       ^
1 warning generated.
clang++ -rdynamic -Wl,--retain-symbols-file -Wl,lua.sym -o textadept 
AutoComplete.o CallTip.o Catalogue.o CellBuffer.o CharClassify.o 
ContractionState.o Decoration.o Document.o Editor.o ExternalLexer.o 
Indicator.o KeyMap.o LineMarker.o PerLine.o PositionCache.o RESearch.o 
RunStyles.o ScintillaBase.o Selection.o Style.o UniConversion.o 
ViewStyle.o XPM.o Accessor.o CharacterSet.o LexerBase.o LexerModule.o 
LexerNoExceptions.o LexerSimple.o PropSetSimple.o StyleContext.o 
WordList.o PlatGTK.o ScintillaGTK.o scintilla-marshal.o LexLPeg.o 
textadept.o lapi.o lcode.o lctype.o ldebug.o ldo.o ldump.o lfunc.o lgc.o 
linit.o llex.o lmem.o lobject.o lopcodes.o lparser.o lstate.o lstring.o 
ltable.o ltm.o lundump.o lvm.o lzio.o lauxlib.o lbaselib.o lbitlib.o 
lcorolib.o ldblib.o liolib.o lmathlib.o loadlib.o loslib.o ltablib.o 
lstrlib.o lpeg.o lfs.o gcocoadialog.o -pthread -L/usr/local/lib 
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender 
-lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage 
-lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 
-lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 
-lgthread-2.0 -lglib-2.0
mv textadept ../
wwm.att.Linden$ ../textadept
Works just fine. HTH!
-- 
Bill Meahan, Westland, Michigan USA
“Writing is a combination of intangible
   creative fantasy and appallingly
   hard work.”
           —Anthony Powell
This message is digitally signed with an X.509 certificate
to prove it is from me and has not been altered since it was sent.

-- 
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sat 07 Jul 2012 - 10:46:49 EDT

This archive was generated by hypermail 2.2.0 : Sun 08 Jul 2012 - 06:30:48 EDT