Albrecht Schlosser wrote: > Hi developers, > > the merge of the Fl_Printer branch is done, and my tests on > Windows and Linux compiled and worked fine. > > Please test and report any errors. Thanks.
I checked out latest 1.3 SVN and it built OK on my intel mac running Tiger. Tried to build the same directory on my PPC mac running Tiger (make distclean; make), but it failed to build Fl.o with these errors: * * * Makefile:28: makeinclude: No such file or directory if test -f config.status; then \ ./config.status --recheck; \ ./config.status; \ else \ ./configure; \ fi checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for a BSD-compatible install... /usr/bin/install -c checking for nroff... /usr/bin/nroff checking for htmldoc... no checking for doxygen... no checking for ranlib... ranlib checking for ar... /usr/bin/ar checking whether byte ordering is bigendian... yes checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for short... yes checking size of short... 2 checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking whether the compiler recognizes bool as a built-in type... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/stdtypes.h usability... no checking sys/stdtypes.h presence... no checking for sys/stdtypes.h... no checking for scandir... yes checking whether we have the POSIX compatible scandir() prototype... yes checking for vsnprintf... yes checking for snprintf... yes checking for strings.h... (cached) yes checking for strcasecmp... yes checking for strlcat... yes checking for strlcpy... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for localeconv... yes checking for library containing pow... none required checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for long long int... yes checking for strtoll... yes checking for library containing dlsym... none required checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for jpeg_CreateCompress in -ljpeg... yes checking jpeglib.h usability... yes checking jpeglib.h presence... yes checking for jpeglib.h... yes checking for gzgets in -lz... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for png_read_info in -lpng... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking libpng/png.h usability... yes checking libpng/png.h presence... yes checking for libpng/png.h... yes checking for png_get_valid in -lpng... yes checking for png_set_tRNS_to_alpha in -lpng... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for pthread_create using -lpthreads... no checking for pthread_create using -lpthread... yes checking if GCC supports -fno-exceptions... yes checking if GCC supports -fno-strict-aliasing... yes Configuration Summary ------------------------------------------------------------------------- Directories: prefix=/usr/local bindir=${exec_prefix}/bin datadir=${prefix}/share datarootdir= exec_prefix=${prefix} includedir=${prefix}/include libdir=${exec_prefix}/lib mandir=${prefix}/man Graphics: Quartz Image Libraries: JPEG=System PNG=System ZLIB=System Large Files: YES OpenGL: YES Threads: YES configure: creating ./config.status config.status: creating makeinclude config.status: creating fltk.list config.status: creating fltk-config config.status: creating fltk.spec config.status: creating FL/Makefile config.status: creating config.h touch config.h chmod +x fltk-config === making src === Compiling Fl.cxx... In file included from Fl.cxx:1516: Fl_cocoa.mm: In function `void update_e_xy_and_e_xy_root(NSWindow*)': Fl_cocoa.mm:774: warning: assignment to `int' from `float' Fl_cocoa.mm:774: warning: argument to `int' from `float' Fl_cocoa.mm:775: warning: assignment to `int' from `float' Fl_cocoa.mm:775: warning: argument to `int' from `float' Fl_cocoa.mm:777: warning: assignment to `int' from `float' Fl_cocoa.mm:777: warning: argument to `int' from `float' Fl_cocoa.mm:778: warning: assignment to `int' from `float' Fl_cocoa.mm:778: warning: argument to `int' from `float' In file included from Fl.cxx:1516: Fl_cocoa.mm: In function `void get_window_frame_sizes(int&, int&, int&)': Fl_cocoa.mm:1646: warning: assignment to `int' from `float' Fl_cocoa.mm:1646: warning: argument to `int' from `float' Fl_cocoa.mm:1647: warning: assignment to `int' from `float' Fl_cocoa.mm:1647: warning: argument to `int' from `float' Fl_cocoa.mm:1648: warning: assignment to `int' from `float' Fl_cocoa.mm:1648: warning: argument to `int' from `float' Fl_cocoa.mm: In static member function `static int Fl::x()': Fl_cocoa.mm:1655: warning: return to `int' from `float' Fl_cocoa.mm:1655: warning: argument to `int' from `float' Fl_cocoa.mm: In static member function `static int Fl::y()': Fl_cocoa.mm:1665: warning: return to `int' from `float' Fl_cocoa.mm:1665: warning: argument to `int' from `float' Fl_cocoa.mm: In static member function `static int Fl::w()': Fl_cocoa.mm:1673: warning: return to `int' from `float' Fl_cocoa.mm:1673: warning: argument to `int' from `float' Fl_cocoa.mm: In static member function `static int Fl::h()': Fl_cocoa.mm:1683: warning: return to `int' from `float' Fl_cocoa.mm:1683: warning: argument to `int' from `float' Fl_cocoa.mm: In static member function `static void Fl::get_mouse(int&, int&)': Fl_cocoa.mm:1694: warning: assignment to `int' from `float' Fl_cocoa.mm:1694: warning: argument to `int' from `float' Fl_cocoa.mm:1695: warning: assignment to `int' from `float' Fl_cocoa.mm:1695: warning: argument to `int' from `float' In file included from Fl.cxx:1516: Fl_cocoa.mm: In static member function `static int Fl_X::fake_X_wm(const Fl_Window*, int&, int&, int&, int&, int&)': Fl_cocoa.mm:1803: warning: assignment to `int' from `float' Fl_cocoa.mm:1803: warning: argument to `int' from `float' Fl_cocoa.mm:1855: warning: initialization to `int' from `float' Fl_cocoa.mm:1855: warning: argument to `int' from `float' Fl_cocoa.mm:1856: warning: assignment to `int' from `float' Fl_cocoa.mm:1856: warning: argument to `int' from `float' Fl_cocoa.mm:1857: warning: assignment to `int' from `float' Fl_cocoa.mm:1857: warning: argument to `int' from `float' Fl_cocoa.mm:1858: warning: assignment to `int' from `float' Fl_cocoa.mm:1858: warning: argument to `int' from `float' Fl_cocoa.mm:1859: warning: assignment to `int' from `float' Fl_cocoa.mm:1859: warning: argument to `int' from `float' In file included from Fl.cxx:1516: Fl_cocoa.mm: In static member function `static void Fl_X::make(Fl_Window*)': Fl_cocoa.mm:2241: warning: passing `float' for argument 1 of `void Fl_Widget::w(int)' Fl_cocoa.mm:2242: warning: passing `float' for argument 1 of `void Fl_Widget::h(int)' Fl_cocoa.mm:2244: warning: passing `float' for argument 1 of `void Fl_Widget::x(int)' Fl_cocoa.mm:2246: warning: passing `float' for argument 1 of `void Fl_Widget::y(int)' In file included from Fl.cxx:1516: Fl_cocoa.mm: In function `int MACscreen_init(XRectangle*)': Fl_cocoa.mm:2961: warning: assignment to `int' from `float' Fl_cocoa.mm:2961: warning: argument to `int' from `float' Fl_cocoa.mm:2962: warning: assignment to `int' from `float' Fl_cocoa.mm:2962: warning: argument to `int' from `float' Fl_cocoa.mm:2963: warning: assignment to `int' from `float' Fl_cocoa.mm:2963: warning: argument to `int' from `float' Fl_cocoa.mm:2964: warning: assignment to `int' from `float' Fl_cocoa.mm:2964: warning: argument to `int' from `float' In file included from ../FL/Fl_Printer.H:6, from Fl_cocoa.mm:2988, from Fl.cxx:1516: ../FL/Fl_Pixmap.H: In constructor `Fl_Pixmap::Fl_Pixmap(char* const*)': ../FL/Fl_Pixmap.H:68: error: parse error before `;' token ../FL/Fl_Pixmap.H: In constructor `Fl_Pixmap::Fl_Pixmap(uchar* const*)': ../FL/Fl_Pixmap.H:70: error: parse error before `;' token ../FL/Fl_Pixmap.H: In constructor `Fl_Pixmap::Fl_Pixmap(const char* const*)': ../FL/Fl_Pixmap.H:72: error: parse error before `;' token ../FL/Fl_Pixmap.H: In constructor `Fl_Pixmap::Fl_Pixmap(const uchar* const*)': ../FL/Fl_Pixmap.H:74: error: parse error before `;' token In file included from ../FL/Fl_Printer.H:8, from Fl_cocoa.mm:2988, from Fl.cxx:1516: ../FL/Fl_Bitmap.H: In constructor `Fl_Bitmap::Fl_Bitmap(const uchar*, int, int) ': ../FL/Fl_Bitmap.H:58: error: parse error before `;' token ../FL/Fl_Bitmap.H: In constructor `Fl_Bitmap::Fl_Bitmap(const char*, int, int) ': ../FL/Fl_Bitmap.H:61: error: parse error before `;' token In file included from Fl.cxx:1516: Fl_cocoa.mm: In function `NSImage* imageFromText(const char*, int*, int*)': Fl_cocoa.mm:3337: warning: assignment to `int' from `double' Fl_cocoa.mm:3337: warning: argument to `int' from `double' Fl_cocoa.mm:3343: warning: assignment to `int' from `double' Fl_cocoa.mm:3343: warning: argument to `int' from `double' make[1]: *** [Fl.o] Error 1 make: *** [all] Error 1 _______________________________________________ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev