You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by pk...@apache.org on 2022/11/11 20:12:27 UTC

[incubator-nuttx-apps] branch master updated (b16eaf9d8 -> 82ee0d1e2)

This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git


    from b16eaf9d8 mm: add memory stress test
     new 5f4525bf0 Fix Error: include/graphics/twm4nx/cwindow.hxx:145:35: error: private field 'm_eventObj' is not used [-Werror,-Wunused-private-field]
     new 76e6a03d7 fix Error: include/graphics/twm4nx/apps/ccalibration.hxx:149:34: error: private field 'm_stop' is not used [-Werror,-Wunused-private-field]
     new 82ee0d1e2 Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator]

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 graphics/twm4nx/src/cwindow.cxx               | 4 ----
 include/graphics/twm4nx/apps/ccalibration.hxx | 1 -
 include/graphics/twm4nx/cwindow.hxx           | 1 -
 3 files changed, 6 deletions(-)


[incubator-nuttx-apps] 02/03: fix Error: include/graphics/twm4nx/apps/ccalibration.hxx:149:34: error: private field 'm_stop' is not used [-Werror,-Wunused-private-field]

Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 76e6a03d7154a559b09c123e7c547e6cb50edab8
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Nov 11 15:12:15 2022 +0800

    fix Error: include/graphics/twm4nx/apps/ccalibration.hxx:149:34: error: private field 'm_stop' is not used [-Werror,-Wunused-private-field]
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 include/graphics/twm4nx/apps/ccalibration.hxx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/graphics/twm4nx/apps/ccalibration.hxx b/include/graphics/twm4nx/apps/ccalibration.hxx
index 9de0e8f21..9b610918a 100644
--- a/include/graphics/twm4nx/apps/ccalibration.hxx
+++ b/include/graphics/twm4nx/apps/ccalibration.hxx
@@ -146,7 +146,6 @@ namespace Twm4Nx
       struct nxgl_point_s        m_touchPos;       /**< This is the last touch position */
       volatile uint8_t           m_calthread;      /**< Current calibration display state (See ECalibThreadState)*/
       uint8_t                    m_calphase;       /**< Current calibration display state (See ECalibrationPhase)*/
-      bool                       m_stop;           /**< True: We have been asked to stop the calibration */
       bool                       m_touched;        /**< True: The screen is touched */
       struct STouchSample        m_sample;         /**< Catches new touch samples */
 #ifdef CONFIG_TWM4NX_CALIBRATION_AVERAGE


[incubator-nuttx-apps] 01/03: Fix Error: include/graphics/twm4nx/cwindow.hxx:145:35: error: private field 'm_eventObj' is not used [-Werror,-Wunused-private-field]

Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 5f4525bf0c7a38b6b10a145840f6b773e6dd63d5
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Nov 11 15:10:58 2022 +0800

    Fix Error: include/graphics/twm4nx/cwindow.hxx:145:35: error: private field 'm_eventObj' is not used [-Werror,-Wunused-private-field]
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 include/graphics/twm4nx/cwindow.hxx | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/graphics/twm4nx/cwindow.hxx b/include/graphics/twm4nx/cwindow.hxx
index c85f6bbc4..b1bdd0656 100644
--- a/include/graphics/twm4nx/cwindow.hxx
+++ b/include/graphics/twm4nx/cwindow.hxx
@@ -142,7 +142,6 @@ namespace Twm4Nx
       NXWidgets::CNxString        m_name;        /**< Name of the window */
       FAR NXWidgets::CNxTkWindow *m_nxWin;       /**< The contained NX primary window */
       FAR CWindowEvent           *m_windowEvent; /**< Cached window event reference */
-      FAR void                   *m_eventObj;    /**< Object reference that accompanies events */
       nxgl_coord_t                m_minWidth;    /**< The minimum width of the window */
       struct SAppEvents           m_appEvents;   /**< Application event information */
       bool                        m_modal;       /**< Window is in modal state */


[incubator-nuttx-apps] 03/03: Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator]

Posted by pk...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git

commit 82ee0d1e241d015d2bbadd2b2a34b95e1024b2c1
Author: Xiang Xiao <xi...@xiaomi.com>
AuthorDate: Fri Nov 11 15:13:58 2022 +0800

    Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator]
    
    Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
---
 graphics/twm4nx/src/cwindow.cxx | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/graphics/twm4nx/src/cwindow.cxx b/graphics/twm4nx/src/cwindow.cxx
index bb87c5055..172d5fde5 100644
--- a/graphics/twm4nx/src/cwindow.cxx
+++ b/graphics/twm4nx/src/cwindow.cxx
@@ -94,19 +94,15 @@ struct SToolbarInfo
 
 struct SToolbarInfo GToolBarInfo[NTOOLBAR_BUTTONS] =
 {
-  [MENU_BUTTON] =
   {
     &CONFIG_TWM4NX_MENU_IMAGE, false, EVENT_TOOLBAR_MENU
   },
-  [DELETE_BUTTON] =
   {
     &CONFIG_TWM4NX_TERMINATE_IMAGE, true, EVENT_TOOLBAR_TERMINATE
   },
-  [RESIZE_BUTTON] =
   {
     &CONFIG_TWM4NX_RESIZE_IMAGE, true, EVENT_RESIZE_BUTTON
   },
-  [MINIMIZE_BUTTON] =
   {
     &CONFIG_TWM4NX_MINIMIZE_IMAGE, true, EVENT_TOOLBAR_MINIMIZE
   }