Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initialize some bool members for search mode #207

Merged
merged 1 commit into from Mar 8, 2020

Conversation

mtasaka
Copy link
Collaborator

@mtasaka mtasaka commented Mar 8, 2020

詳細は後で書きます。

スレビューで検索をする時、幾つかのクラスのbool memberが未初期化と怒られるので、
明示的に初期化する。

スレビューで検索をする時、幾つかのクラスのbool memberが未初期化と怒られるので、
明示的に初期化する。
@mtasaka
Copy link
Collaborator Author

mtasaka commented Mar 8, 2020

細かい事ですが、メッセージが出てしまうので、出しておきます。

(gcc10で-fsanitize=undefinedを付けてcompileして)、スレビューで、適当な文字で検索すると、次のような感じで怒られます。

articleviewbase.cpp:4196:41: runtime error: load of value 190, which is not a valid value for type 'bool'
articleviewbase.cpp:4199:40: runtime error: load of value 190, which is not a valid value for type 'bool'

gdbを見ると

#0  ARTICLE::ArticleViewBase::exec_search() (this=0x619000cbbb80) at articleviewbase.cpp:4180
#1  0x000055555ae78be6 in SKELETON::Admin::exec_command() (this=<optimized out>) at admin.cpp:796
#2  0x000055555adec961 in SKELETON::Admin::callback_dispatch() (this=0x6110002bbc80) at admin.cpp:459
#3  0x0000555559acd203 in CORE::DispatchManager::slot_dispatch() (this=<optimized out>) at dispatchmanager.cpp:108
#4  0x0000555559a9dcb8 in sigc::internal::signal_emit0<void, sigc::nil>::emit(sigc::internal::signal_impl*) (impl=<optimized out>)
    at /usr/include/sigc++-2.0/sigc++/signal.h:794
#5  0x00007ffff6eb974e in Glib::DispatchNotifier::pipe_io_handler(Glib::IOCondition) () at /lib64/libglibmm-2.4.so.1
#6  0x00007ffff6ebbf70 in Glib::IOSource::dispatch(sigc::slot_base*) () at /lib64/libglibmm-2.4.so.1
#7  0x00007ffff6ebbacf in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () at /lib64/libglibmm-2.4.so.1
#8  0x00007ffff633176f in g_main_dispatch (context=0x60f000000b80) at ../glib/gmain.c:3309
#9  g_main_context_dispatch (context=0x60f000000b80) at ../glib/gmain.c:3974
#10 0x00007ffff6331af8 in g_main_context_iterate (context=0x60f000000b80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../glib/gmain.c:4047
#11 0x00007ffff6331e0b in g_main_loop_run (loop=loop@entry=0x602000970e50) at ../glib/gmain.c:4241
#12 0x00007ffff6986d4d in gtk_main () at gtkmain.c:1325
#13 0x00005555596c76a8 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at main.cpp:590

となってArticleViewBase::exec_search()が呼び出されます。そこでm_search_invertが初期化されてないので、このエラーが出ます。

../../src/jdlib/jdregex.h:24:11: runtime error: load of value 48, which is not a valid value for type 'bool'
../../src/jdlib/jdregex.h:24:11: runtime error: load of value 42, which is not a valid value for type 'bool'

これは謎メッセージですが、色々調べた結果、結局JDLIB::Regexのコピーコンストラクタが走るときに文句を言われていることが分りました。具体的には

list_regex.push_back( JDLIB::Regex() );
で コピーコンストラクタが走っていて、その時 m_newlinem_wcharが初期化されてないといって怒られているようです。

特に2の方は無害な気もしますが... 修正自体は無害と思うので。

@ma8ma ma8ma merged commit a59babe into JDimproved:master Mar 8, 2020
@ma8ma
Copy link
Collaborator

ma8ma commented Mar 8, 2020

ありがとうございます。
解析ツールを使ってコンストラクターで初期化してないメンバー変数を探して修正したほうがいいですね。

@ma8ma ma8ma added this to In progress in State of JDim-v0.3.0+ via automation Mar 8, 2020
@ma8ma ma8ma added the bug バグの追跡 label Mar 8, 2020
@ma8ma
Copy link
Collaborator

ma8ma commented Mar 8, 2020

cppcheckをかけると目茶苦茶メッセージがでました、未初期化のメンバー多いです 😓

cppcheck --enable=warning --std=c++11 ./srcの結果から"is not initialized in the constructor"をフィルター
[src/article/scrollinfo.h:48]: (warning) Member variable 'SCROLLINFO::live_speed' is not initialized in the constructor.
[src/article/scrollinfo.h:48]: (warning) Member variable 'SCROLLINFO::live_counter' is not initialized in the constructor.
[src/article/articleview.cpp:49]: (warning) Member variable 'ArticleViewMain::m_set_history' is not initialized in the constructor.
[src/article/articleview.cpp:49]: (warning) Member variable 'ArticleViewMain::m_show_instdialog' is not initialized in the constructor.
[src/article/articleview.cpp:49]: (warning) Member variable 'ArticleViewMain::m_show_closedialog' is not initialized in the constructor.
[src/article/articleviewbase.cpp:69]: (warning) Member variable 'ArticleViewBase::m_drawarea' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::restore_board' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::restore_article' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::restore_image' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::manage_winpos' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::ref_prefix_space' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::aafont_enabled' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_proxy_for2ch' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::proxy_port_for2ch' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_proxy_for2ch_w' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::proxy_port_for2ch_w' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_proxy_for_data' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::proxy_port_for_data' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::loader_bufsize' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::loader_bufsize_board' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::loader_timeout' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::loader_timeout_post' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::loader_timeout_img' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::loader_timeout_checkupdate' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_ipv6' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::connection_num' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_cookie_hap' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_offlaw2_2ch' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::browsercombo_id' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::refpopup_by_mo' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::namepopup_by_mo' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::idpopup_by_mo' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::imgemb_interp' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::imgmain_interp' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::imgpopup_interp' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::imgpopup_width' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::imgpopup_height' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_image_popup' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_image_view' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_inline_image' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_ssspicon' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::embimg_width' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::embimg_height' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::hide_imagetab' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_delimgdiag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_mosaic' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::mosaic_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::zoom_to_fit' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::del_img_day' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::del_imgabone_day' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::max_img_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::max_img_pixel' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::imgcache_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_link_as_board' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_movediag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_message_gtktheme' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_tree_gtkrc' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_select_gtkrc' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::tree_ypad' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::tree_show_expanders' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::tree_level_indent' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::scroll_tree' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::select_item_sync' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::view_margin' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::left_scrbar' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_oldarticle' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::newthread_hour' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::inc_search_board' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_deldiag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_cached_board' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_924' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::tree_scroll_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::scroll_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::key_scroll_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::key_fastscroll_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::jump_after_reload' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::jump_new_after_reload' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::live_mode' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::live_speed' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::live_threshold' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::open_one_category' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::open_one_favorite' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::always_write_ok' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::save_postlog' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::maxsize_postlog' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::save_posthist' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::hide_writing_dialog' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_savemsgdiag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::message_wrap' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::fold_message' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::fold_image' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::keep_im_status' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::margin_popup' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::margin_imgpopup_x' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::margin_imgpopup' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::hide_popup_msec' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::enable_mg' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::mouse_radius' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::numberjmp_msec' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::history_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::historyview_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::aahistory_size' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::instruct_popup' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::instruct_tglart' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::instruct_tglart_end' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::instruct_tglimg' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::instruct_tglimg_end' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_delartdiag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::adjust_underline_pos' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::adjust_line_space' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::draw_underline' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::strict_char_width' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::check_id' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::num_reference_high' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::num_reference_low' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::num_id_high' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::num_id_low' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::loose_url' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::hide_usrcmd' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::reload_allthreads' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::tab_min_str' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_tab_icon' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::switchtab_wheel' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::newtab_pos' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::opentab_pos' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::boardnexttab_pos' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_post_mark' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::flat_button' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::draw_toolbarback' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::remove_old_abone_thread' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::abone_number_thread' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::abone_hour_thread' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::abone_transparent' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::abone_chain' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::abone_icase' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::abone_wchar' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::expand_sidebar' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::expand_rpane' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::open_sidebar_by_click' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::threshold_next' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::replace_favorite_next' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_diag_replace_favorite' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::bookmark_drop' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::check_update_board' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::check_update_boot' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::check_favorite_dup' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_favorite_select_diag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::disable_close' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_hide_menubar_diag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::change_stastatus_color' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::use_machi_offlaw' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_del_written_thread_diag' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::delete_img_in_thread' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::max_resnumber' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::show_diag_fifo_error' is not initialized in the constructor.
[src/config/configitems.cpp:62]: (warning) Member variable 'ConfigItems::save_session' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_event' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_width_client' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_height_client' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_rect_backscreen' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_enable_draw' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_drawinfo' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_scroll_window' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_selection' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_font' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_defaultfont' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_aafont' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_mailfont' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_goto_num_reserve' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_goto_bottom_reserve' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_pre_pos_y' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_cancel_change_adjust' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_clip_marker' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_x_pointer' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_y_pointer' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_key_press' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_key_locked' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_clicked' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_drugging' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_r_drugging' is not initialized in the constructor.
[src/article/drawareabase.cpp:101]: (warning) Member variable 'DrawAreaBase::m_layout_current' is not initialized in the constructor.
[src/dbtree/articlehash.cpp:20]: (warning) Member variable 'ArticleHash::m_it_hash' is not initialized in the constructor.
[src/dbtree/articlehash.cpp:20]: (warning) Member variable 'ArticleHash::m_it_pos' is not initialized in the constructor.
[src/dbtree/articlehash.cpp:20]: (warning) Member variable 'ArticleHash::m_it_size' is not initialized in the constructor.
[src/image/imageareaicon.cpp:22]: (warning) Member variable 'ImageAreaIcon::m_imagetype' is not initialized in the constructor.
[src/image/imageview.cpp:46]: (warning) Member variable 'ImageViewMain::m_pre_width' is not initialized in the constructor.
[src/image/imageview.cpp:46]: (warning) Member variable 'ImageViewMain::m_pre_height' is not initialized in the constructor.
[src/image/imageview.cpp:46]: (warning) Member variable 'ImageViewMain::m_redraw_count' is not initialized in the constructor.
[src/image/imageviewbase.cpp:44]: (warning) Member variable 'ImageViewBase::m_dblclick' is not initialized in the constructor.
[src/jdlib/imgloader.cpp:18]: (warning) Member variable 'ImgLoader::m_loadlevel' is not initialized in the constructor.
[src/jdlib/jdiconv.cpp:36]: (warning) Member variable 'Iconv::m_buf_in_tmp' is not initialized in the constructor.
[src/jdlib/jdthread.cpp:30]: (warning) Member variable 'Thread::m_thread' is not initialized in the constructor.
[src/loginp2.cpp:51]: (warning) Member variable 'Loginp2::m_loading_csrfid' is not initialized in the constructor.
[src/searchmanager.cpp:39]: (warning) Member variable 'Search_Manager::m_searchmode' is not initialized in the constructor.
[src/searchmanager.cpp:39]: (warning) Member variable 'Search_Manager::m_mode_or' is not initialized in the constructor.
[src/searchmanager.cpp:39]: (warning) Member variable 'Search_Manager::m_bm' is not initialized in the constructor.
[src/searchmanager.cpp:39]: (warning) Member variable 'Search_Manager::m_calc_data' is not initialized in the constructor.
[src/searchmanager.cpp:39]: (warning) Member variable 'Search_Manager::m_stop' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:170]: (warning) Member variable 'EditTreeView::m_exec_drop' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:170]: (warning) Member variable 'EditTreeView::m_row_dest_before' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:170]: (warning) Member variable 'EditTreeView::m_dropped_from_other' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:170]: (warning) Member variable 'EditTreeView::m_jump_count' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:170]: (warning) Member variable 'EditTreeView::m_max_dirid' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:180]: (warning) Member variable 'EditTreeView::m_exec_drop' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:180]: (warning) Member variable 'EditTreeView::m_row_dest_before' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:180]: (warning) Member variable 'EditTreeView::m_dropped_from_other' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:180]: (warning) Member variable 'EditTreeView::m_jump_count' is not initialized in the constructor.
[src/skeleton/edittreeview.cpp:180]: (warning) Member variable 'EditTreeView::m_max_dirid' is not initialized in the constructor.
[src/skeleton/msgdiag.cpp:17]: (warning) Member variable 'MsgDiag::m_conn_timer' is not initialized in the constructor.
[src/skeleton/msgdiag.cpp:27]: (warning) Member variable 'MsgDiag::m_conn_timer' is not initialized in the constructor.
[src/skeleton/panecontrol.cpp:15]: (warning) Member variable 'PaneControl::m_pos' is not initialized in the constructor.
[src/skeleton/tablabel.cpp:22]: (warning) Member variable 'TabLabel::m_x' is not initialized in the constructor.
[src/skeleton/tablabel.cpp:22]: (warning) Member variable 'TabLabel::m_y' is not initialized in the constructor.
[src/skeleton/tablabel.cpp:22]: (warning) Member variable 'TabLabel::m_width' is not initialized in the constructor.
[src/skeleton/tablabel.cpp:22]: (warning) Member variable 'TabLabel::m_height' is not initialized in the constructor.
[src/sound/playsound.cpp:22]: (warning) Member variable 'Play_Sound::m_stop' is not initialized in the constructor.
[src/skeleton/view.cpp:19]: (warning) Member variable 'View::m_width_client' is not initialized in the constructor.
[src/skeleton/view.cpp:19]: (warning) Member variable 'View::m_height_client' is not initialized in the constructor.
[src/skeleton/window.cpp:54]: (warning) Member variable 'JDWindow::m_counter' is not initialized in the constructor.
[src/updatemanager.cpp:38]: (warning) Member variable 'CheckUpdate_Manager::m_total' is not initialized in the constructor.

edit(2020-05-06): メンバー変数の初期化問題はほぼ修正しました。残りは次のリリース後に行う予定です。

@ma8ma ma8ma moved this from In progress to Done in State of JDim-v0.3.0+ Mar 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug バグの追跡
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants