=> Bootstrap dependency digest>=20010302: found digest-20160304 WARNING: [license.mk] Every package should define a LICENSE. ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for fltk2-2.0pre6129nb14 === making src === gmake[1]: warning: -jN forced in submake: disabling jobserver mode. Compiling add_idle.cxx... Compiling addarc.cxx... Compiling addcurve.cxx... Compiling Adjuster.cxx... Adjuster.cxx: In member function 'virtual void fltk::Adjuster::draw()': Adjuster.cxx:83:31: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] Flags flags = this->flags() & ~(STATE|PUSHED|HIGHLIGHT) | OUTPUT; ^ Compiling AlignGroup.cxx... Compiling AnsiWidget.cxx... Compiling args.cxx... Compiling BarGroup.cxx... Compiling bmpImage.cxx... Compiling Browser.cxx... Browser.cxx: In member function 'virtual int fltk::Browser::handle(int)': Browser.cxx:1408:47: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (openclose_drag == 1 || event_clicks() && item_is_parent()) { ^ Browser.cxx: In member function 'fltk::Widget* fltk::Browser::goto_index(const int*, unsigned int)': Browser.cxx:1524:19: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!indexes[0] && !level || layout_damage() || !goto_mark(FOCUS)) { ^ Compiling Browser_load.cxx... Compiling Button.cxx... Compiling CheckButton.cxx... Compiling Choice.cxx... Choice.cxx: In member function 'virtual void fltk::Choice::draw()': Choice.cxx:84:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] drawstyle(style(), flags() & ~FOCUSED | OUTPUT); ^ Compiling clip.cxx... Compiling Clock.cxx... Compiling Color.cxx... Compiling color_chooser.cxx... Compiling ComboBox.cxx... Compiling compose.cxx... compose.cxx: In function 'bool fltk::compose(int&)': compose.cxx:375:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (p[0] == ascii && p[1] == c1 || p[1] == ascii && p[0] == c1) { ^ Compiling Cursor.cxx... Compiling CycleButton.cxx... CycleButton.cxx: In member function 'virtual void fltk::CycleButton::draw()': CycleButton.cxx:84:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] bg && (damage()&DAMAGE_HIGHLIGHT)) { ^ Compiling default_glyph.cxx... default_glyph.cxx: In member function 'void fltk::Widget::draw_glyph(int, const fltk::Rectangle&) const': default_glyph.cxx:129:26: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] drawflags_ = savedflags&~ALIGN_MASK | which; ^ Compiling Dial.cxx... Compiling DiamondBox.cxx... Compiling dnd.cxx... Compiling drawtext.cxx... drawtext.cxx: In member function 'virtual void LeftSymbol::_measure(int&, int&) const': drawtext.cxx:197:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] flags = flags&(~ALIGN_RIGHT)|ALIGN_LEFT; ^ drawtext.cxx: In member function 'virtual void RightSymbol::_measure(int&, int&) const': drawtext.cxx:219:18: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] flags = flags&(~ALIGN_LEFT)|ALIGN_RIGHT; ^ Compiling EngravedLabel.cxx... Compiling error.cxx... Compiling event_key_state.cxx... Compiling file_chooser.cxx... Compiling FileBrowser.cxx... Compiling FileChooser.cxx... FileBrowser.cxx: In member function 'int fltk::FileBrowser::load(const char*, int (*)(const dirent* const*, const dirent* const*))': FileBrowser.cxx:295:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !show_hidden_ && files[i]->d_name[0]=='.' && strncmp(files[i]->d_name,"../",2)) ^ FileChooser.cxx: In constructor 'fltk::FileChooser::FileChooser(const char*, const char*, int, const char*)': FileChooser.cxx:147:29: warning: variable 'w' set but not used [-Wunused-but-set-variable] fltk::DoubleBufferWindow* w; ^ Compiling FileChooser2.cxx... FileChooser2.cxx: In member function 'void fltk::FileChooser::value(const char*)': FileChooser2.cxx:1129:15: warning: the address of 'pathname' will always evaluate as 'true' [-Waddress] if (pathname) strncpy(dir,pathname,sizeof(dir)); ^ Compiling FileIcon.cxx... Compiling FileInput.cxx... Compiling filename_absolute.cxx... Compiling filename_ext.cxx... Compiling filename_isdir.cxx... Compiling filename_list.cxx... Compiling filename_name.cxx... Compiling filename_match.cxx... Compiling fillrect.cxx... Compiling Fl_Menu_Item.cxx... Compiling FloatInput.cxx... Compiling fltk_theme.cxx... FloatInput.cxx: In member function 'virtual bool fltk::FloatInput::replace(int, int, const char*, int)': FloatInput.cxx:65:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (b+n==0 && (ascii == '+' || ascii == '-') || ^ FloatInput.cxx:69:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] && (ascii>='A'&& ascii<='F' || ascii>='a'&& ascii<='f')) || ^ FloatInput.cxx:70:25: warning: suggest parentheses around '&&' within '||' [-Wparentheses] type()==FLOAT && ascii && strchr(".eE+-", ascii)) ^ Compiling Font.cxx... Compiling gifImage.cxx... In file included from x11/Font.cxx:2:0, from Font.cxx:96: x11/Font_xft.cxx: In function 'int fltk::list_fonts(fltk::Font**&)': x11/Font_xft.cxx:364:60: warning: missing sentinel in function call [-Wformat=] FcObjectSet* fnt_obj_set = FcObjectSetBuild (FC_FAMILY, 0); ^ x11/Font_xft.cxx: In member function 'int fltk::Font::sizes(int*&)': x11/Font_xft.cxx:431:22: warning: missing sentinel in function call [-Wformat=] XFT_PIXEL_SIZE, 0); ^ x11/Font_xft.cxx: In member function 'int fltk::Font::encodings(const char**&)': x11/Font_xft.cxx:466:22: warning: missing sentinel in function call [-Wformat=] XFT_ENCODING, 0); ^ Compiling Group.cxx... Compiling GSave.cxx... Compiling HelpView.cxx... Compiling HighlightButton.cxx... Compiling Image.cxx... Compiling Input.cxx... Input.cxx: In member function 'void fltk::Input::draw(const fltk::Rectangle&)': Input.cxx:443:40: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if ((this==dnd_target || focused() && selstart == selend) && ^ Input.cxx: In member function 'bool fltk::Input::undo()': Input.cxx:871:38: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (undowidget != this || !undocut && !undoinsert) return false; ^ Input.cxx: In member function 'int fltk::Input::handle(int, const fltk::Rectangle&)': Input.cxx:1478:20: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (newpos >= mark() && newpos < position() || ^ Compiling InputBrowser.cxx... InputBrowser.cxx: In member function 'virtual void fltk::InputBrowser::draw()': InputBrowser.cxx:348:23: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] Flags f = flags() & ~FOCUSED | OUTPUT; ^ Compiling InvisibleWidget.cxx... Compiling Item.cxx... Compiling key_name.cxx... Compiling LightButton.cxx... Compiling list_fonts.cxx... Compiling load_plugin.cxx... Compiling lock.cxx... Compiling Menu.cxx... Compiling Menu_add.cxx... Compiling Menu_global.cxx... Compiling Menu_popup.cxx... Compiling MenuBar.cxx... Menu_popup.cxx: In member function 'void fltk::Menu::draw_in(fltk::Widget*, const int*, int, int, int) const': Menu_popup.cxx:299:42: warning: suggest parentheses around '&&' within '||' [-Wparentheses] widget->style()->hide_underscore() && !event_state(ACCELERATOR) ) ^ Menu_popup.cxx: In member function 'virtual int MWindow::handle(int)': Menu_popup.cxx:717:51: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (p.hmenubar && (p.level<=0 || p.level==1 && p.nummenus==2)) ^ Menu_popup.cxx:763:34: warning: suggest parentheses around '&&' within '||' [-Wparentheses] nextitem <= p.indexes[menu] && item > p.indexes[menu]) ^ Compiling MenuWindow.cxx... Compiling message.cxx... Compiling MultiImage.cxx... Compiling NumericInput.cxx... NumericInput.cxx: In member function 'int fltk::NumericInput::handle_arrow(int)': NumericInput.cxx:204:49: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (p < 0 || (at(p) < '0' || at(p) > '9') && at(p) != '.') { ^ NumericInput.cxx:225:31: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (!(g > 0 && (at(g-1)>='0' && at(g-1)<='9' || at(g-1)=='.'))) { ^ Compiling numericsort.cxx... Compiling Output.cxx... Compiling OvalBox.cxx... Compiling overlay_rect.cxx... Compiling own_colormap.cxx... Compiling PackedGroup.cxx... PackedGroup.cxx: In member function 'virtual void fltk::PackedGroup::layout()': PackedGroup.cxx:153:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (r.w()<0 || !resizable() && !saw_horizontal) { ^ PackedGroup.cxx:157:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (r.h()<0 || !resizable() && !saw_vertical) { ^ Compiling path.cxx... Compiling PlasticBox.cxx... Compiling PopupMenu.cxx... Compiling Preferences.cxx... Preferences.cxx: In function 'char* decodeText(const char*)': Preferences.cxx:334:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if ( *s == '\\' ) ^ Compiling ProgressBar.cxx... Compiling RadioButton.cxx... Compiling readimage.cxx... Compiling RepeatButton.cxx... Compiling ReturnButton.cxx... Compiling RoundBox.cxx... Compiling RoundedBox.cxx... Compiling run.cxx... Compiling Scrollbar.cxx... run.cxx: In function 'void fix_focus()': run.cxx:97:18: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (grab_ || w && modal_) w = modal_; ^ Scrollbar.cxx: In member function 'virtual int fltk::Scrollbar::handle(int)': Scrollbar.cxx:173:21: warning: suggest parentheses around '&&' within '||' [-Wparentheses] event_button() > 1 && which_part > DOWN_ARROW) { ^ In file included from run.cxx:156:0: x11/run.cxx: In function 'void fltk::open_display(Display*)': x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:613:3: note: in expansion of macro 'atom' atom( WM_DELETE_WINDOW , "WM_DELETE_WINDOW"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:614:3: note: in expansion of macro 'atom' atom( WM_PROTOCOLS , "WM_PROTOCOLS"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:615:3: note: in expansion of macro 'atom' atom( MOTIF_WM_HINTS , "_MOTIF_WM_HINTS"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:616:3: note: in expansion of macro 'atom' atom( FLTKChangeScheme , "FLTKChangeScheme"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:617:3: note: in expansion of macro 'atom' atom( TARGETS , "TARGETS"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:618:3: note: in expansion of macro 'atom' atom( CLIPBOARD , "CLIPBOARD"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:619:3: note: in expansion of macro 'atom' atom( XdndAware , "XdndAware"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:620:3: note: in expansion of macro 'atom' atom( XdndSelection , "XdndSelection"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:621:3: note: in expansion of macro 'atom' atom( XdndEnter , "XdndEnter"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:622:3: note: in expansion of macro 'atom' atom( XdndTypeList , "XdndTypeList"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:623:3: note: in expansion of macro 'atom' atom( XdndPosition , "XdndPosition"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:624:3: note: in expansion of macro 'atom' atom( XdndLeave , "XdndLeave"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:625:3: note: in expansion of macro 'atom' atom( XdndDrop , "XdndDrop"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:626:3: note: in expansion of macro 'atom' atom( XdndStatus , "XdndStatus"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:627:3: note: in expansion of macro 'atom' atom( XdndActionCopy , "XdndActionCopy"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:628:3: note: in expansion of macro 'atom' atom( XdndFinished , "XdndFinished"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:629:3: note: in expansion of macro 'atom' atom( textplainutf , "text/plain;charset=UTF-8"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:630:3: note: in expansion of macro 'atom' atom( textplain , "text/plain"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:631:3: note: in expansion of macro 'atom' atom( XA_TEXT , "TEXT"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:632:3: note: in expansion of macro 'atom' atom( texturilist , "text/uri-list"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:634:3: note: in expansion of macro 'atom' atom( _NET_WM_NAME , "_NET_WM_NAME"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:635:3: note: in expansion of macro 'atom' atom( _NET_WM_ICON_NAME , "_NET_WM_ICON_NAME"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:636:3: note: in expansion of macro 'atom' atom( _NET_WORKAREA , "_NET_WORKAREA"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:637:3: note: in expansion of macro 'atom' atom( _NET_CURRENT_DESKTOP , "_NET_CURRENT_DESKTOP"); ^ x11/run.cxx:612:46: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] #define atom(a,b) atom_ptr[i] = &a; names[i] = b; i++ ^ x11/run.cxx:638:3: note: in expansion of macro 'atom' atom( UTF8_STRING , "UTF8_STRING"); ^ In file included from run.cxx:156:0: x11/run.cxx: In function 'bool fltk::handle()': x11/run.cxx:1690:21: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated [-Wdeprecated-declarations] KeySym keysym = XKeycodeToKeysym(xdisplay, keycode, 0); ^ In file included from ../fltk/x11.h:50:0, from ../fltk/x.h:38, from run.cxx:49: /scratch/x11/fltk2/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^ In file included from run.cxx:156:0: x11/run.cxx:1690:21: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated [-Wdeprecated-declarations] KeySym keysym = XKeycodeToKeysym(xdisplay, keycode, 0); ^ In file included from ../fltk/x11.h:50:0, from ../fltk/x.h:38, from run.cxx:49: /scratch/x11/fltk2/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^ In file included from run.cxx:156:0: x11/run.cxx:1690:58: warning: 'KeySym XKeycodeToKeysym(Display*, KeyCode, int)' is deprecated [-Wdeprecated-declarations] KeySym keysym = XKeycodeToKeysym(xdisplay, keycode, 0); ^ In file included from ../fltk/x11.h:50:0, from ../fltk/x.h:38, from run.cxx:49: /scratch/x11/fltk2/work/.buildlink/include/X11/Xlib.h:1687:15: note: declared here extern KeySym XKeycodeToKeysym( ^ run.cxx: In function 'int fltk::wait(float)': run.cxx:460:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (time_to_wait <= 0 || idle && !in_idle) time_to_wait = 0; ^ Compiling ScrollGroup.cxx... Compiling scrollrect.cxx... Compiling setcolor.cxx... Compiling setdisplay.cxx... Compiling setvisual.cxx... Compiling ShadowBox.cxx... Compiling ShapedWindow.cxx... Compiling SharedImage.cxx... Compiling ShortcutAssignment.cxx... ShortcutAssignment.cxx: In member function 'bool fltk::Widget::add_shortcut(unsigned int)': ShortcutAssignment.cxx:134:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if (!(key&0xff00u)) key = key&0xffff0000u|tolower(key&0xffu); ^ ShortcutAssignment.cxx: In member function 'bool fltk::Widget::remove_shortcut(unsigned int)': ShortcutAssignment.cxx:184:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if (!(key&0xff00u)) key = key&0xffff0000u|tolower(key&0xffu); ^ ShortcutAssignment.cxx: In function 'const fltk::ShortcutAssignment* fltk::list_shortcuts(unsigned int, unsigned int&)': ShortcutAssignment.cxx:253:32: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] if (!(key&0xff00u)) key = key&0xffff0000u|tolower(key&0xffu); ^ Compiling show_colormap.cxx... Compiling Slider.cxx... Compiling StatusBarGroup.cxx... Compiling StringList.cxx... Compiling Style.cxx... Compiling StyleSet.cxx... Compiling Symbol.cxx... Compiling SystemMenuBar.cxx... Compiling TabGroup.cxx... In file included from TabGroup.cxx:56:0: ../fltk/TabGroup.h: In destructor 'virtual fltk::TabGroup::~TabGroup()': ../fltk/TabGroup.h:100:23: warning: deleting object of abstract class type 'fltk::TabGroupPager' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] ~TabGroup() {delete pager_;} ^ TabGroup.cxx: In member function 'int fltk::TabGroup::push(fltk::Widget*)': TabGroup.cxx:247:13: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (push_ && !push_->visible() || o && !o->visible()) ^ TabGroup.cxx: In member function 'void fltk::TabGroup::pager(fltk::TabGroupPager*)': TabGroup.cxx:487:26: warning: deleting object of abstract class type 'fltk::TabGroupPager' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] if (pager_) delete pager_; ^ TabGroup.cxx: In static member function 'static void fltk::TabGroup::default_pager(fltk::TabGroupPager*)': TabGroup.cxx:495:34: warning: deleting object of abstract class type 'fltk::TabGroupPager' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] if (default_pager_) delete default_pager_; ^ Compiling TabGroup2.cxx... In file included from TabGroup2.cxx:35:0: ../fltk/TabGroup.h: In destructor 'virtual fltk::TabGroup::~TabGroup()': ../fltk/TabGroup.h:100:23: warning: deleting object of abstract class type 'fltk::TabGroupPager' which has non-virtual destructor will cause undefined behaviour [-Wdelete-non-virtual-dtor] ~TabGroup() {delete pager_;} ^ Compiling TextBuffer.cxx... Compiling TextDisplay.cxx... TextBuffer.cxx: In member function 'int fltk::TextBuffer::undo(int*)': TextBuffer.cxx:358:53: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (undowidget != this || !undocut && !undoinsert &&!mCanUndo) return 0; ^ TextBuffer.cxx: In member function 'char* fltk::TextBuffer::selection_text_(fltk::TextSelection*)': TextBuffer.cxx:1814:60: warning: 'rectend' may be used uninitialized in this function [-Wmaybe-uninitialized] return text_in_rectangle(start, end, rectstart, rectend); ^ TextBuffer.cxx:1814:60: warning: 'rectstart' may be used uninitialized in this function [-Wmaybe-uninitialized] TextBuffer.cxx: In member function 'void fltk::TextBuffer::replace_selection_(fltk::TextSelection*, const char*)': TextBuffer.cxx:1843:59: warning: 'rectend' may be used uninitialized in this function [-Wmaybe-uninitialized] replace_rectangular(start, end, rectstart, rectend, s); ^ TextBuffer.cxx:1843:59: warning: 'rectstart' may be used uninitialized in this function [-Wmaybe-uninitialized] TextBuffer.cxx: In member function 'void fltk::TextBuffer::remove_selection_(fltk::TextSelection*)': TextBuffer.cxx:1826:55: warning: 'rectend' may be used uninitialized in this function [-Wmaybe-uninitialized] remove_rectangular(start, end, rectstart, rectend); ^ TextBuffer.cxx:1826:55: warning: 'rectstart' may be used uninitialized in this function [-Wmaybe-uninitialized] Compiling TextEditor.cxx... TextEditor.cxx: In static member function 'static int fltk::TextEditor::kf_default(int, fltk::TextEditor*)': TextEditor.cxx:187:25: warning: narrowing conversion of 'c' from 'int' to 'char' inside { } is ill-formed in C++11 [-Wnarrowing] char s[2] = { c, '\0' }; ^ Compiling ThumbWheel.cxx... Compiling TiledGroup.cxx... TiledGroup.cxx: In member function 'void fltk::TiledGroup::position(int, int, int, int)': TiledGroup.cxx:52:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oix || t>oix && Xnewx) X = newx; ^ TiledGroup.cxx:52:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oix || t>oix && Xnewx) X = newx; ^ TiledGroup.cxx:54:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oix || t>oix && Rnewx) R = newx; ^ TiledGroup.cxx:54:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oix || t>oix && Rnewx) R = newx; ^ TiledGroup.cxx:60:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oiy || t>oiy && Ynewy) Y = newy; ^ TiledGroup.cxx:60:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oiy || t>oiy && Ynewy) Y = newy; ^ TiledGroup.cxx:62:29: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oiy || t>oiy && Bnewy) B = newy; ^ TiledGroup.cxx:62:48: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (t == oiy || t>oiy && Bnewy) B = newy; ^ Compiling TiledImage.cxx... Compiling Tooltip.cxx... Compiling UpBox.cxx... Compiling Valuator.cxx... Compiling ValueInput.cxx... Compiling ValueOutput.cxx... Compiling ValueSlider.cxx... ValueInput.cxx: In member function 'virtual void fltk::ValueInput::draw()': ValueInput.cxx:107:27: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] f[0] = f[1] = flags() & ~(HIGHLIGHT|FOCUSED) | OUTPUT; ^ Compiling Widget.cxx... Widget.cxx: In member function 'virtual void fltk::Widget::draw()': Widget.cxx:637:32: warning: suggest parentheses around '&&' within '||' [-Wparentheses] align() != ALIGN_CENTER && !(align()&ALIGN_INSIDE))) { ^ Compiling Widget_draw.cxx... Widget_draw.cxx: In member function 'void fltk::Widget::draw_frame() const': Widget_draw.cxx:105:29: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] drawstyle(style(), flags_ & ~OUTPUT | INVISIBLE); ^ Widget_draw.cxx: In member function 'void fltk::Widget::draw_label() const': Widget_draw.cxx:119:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] (flags&15) && !(flags & ALIGN_INSIDE))) return; ^ Widget_draw.cxx: In member function 'void fltk::Group::draw_outside_label(fltk::Widget&) const': Widget_draw.cxx:277:15: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] flags = flags&~ALIGN_RIGHT | ALIGN_LEFT; ^ Widget_draw.cxx:301:17: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses] flags = flags & ~(HIGHLIGHT|PUSHED) | OUTPUT; ^ Compiling Window.cxx... Compiling Window_fullscreen.cxx... Compiling Window_hotspot.cxx... Compiling Window_iconize.cxx... Compiling WizardGroup.cxx... Compiling xbmImage.cxx... Compiling xpmImage.cxx... xpmImage.cxx: In static member function 'static bool fltk::xpmImage::fetch(fltk::Image&, const char* const*)': xpmImage.cxx:59:33: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if (n<4 || chars_per_pixel!=1 && chars_per_pixel!=2) return false; ^ Compiling scandir.c... Compiling string.c... In file included from /usr/include/stdio.h:597:0, from ../fltk/string.h:45, from string.c:22: ../fltk/string.h:72:19: error: expected declaration specifiers or '...' before numeric constant FL_API extern int snprintf(char *, size_t, const char *, ...); ^ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../fltk/string.h:43, from string.c:22: ../fltk/string.h:72:19: error: expected declaration specifiers or '...' before '__builtin_object_size' FL_API extern int snprintf(char *, size_t, const char *, ...); ^ In file included from /usr/include/stdio.h:597:0, from ../fltk/string.h:45, from string.c:22: ../fltk/string.h:73:19: error: expected declaration specifiers or '...' before numeric constant FL_API extern int vsnprintf(char *, size_t, const char *, va_list ap); ^ In file included from /usr/include/ssp/strings.h:34:0, from /usr/include/strings.h:72, from /usr/include/string.h:98, from ../fltk/string.h:43, from string.c:22: ../fltk/string.h:73:19: error: expected declaration specifiers or '...' before '__builtin_object_size' FL_API extern int vsnprintf(char *, size_t, const char *, va_list ap); ^ gmake[1]: *** [../makeinclude:130: string.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake: *** [Makefile:31: all] Error 2 *** Error code 2 Stop. make[1]: stopped in /bulk-data/pkgsrc/x11/fltk2 *** Error code 1 Stop. make: stopped in /bulk-data/pkgsrc/x11/fltk2