Results 1 to 6 of 6

Thread: Remove Compiler Warnings from HR-OS1 framework...

  1. #1

    Remove Compiler Warnings from HR-OS1 framework...

    One thing I thought I would do, was to try to eliminate all of the compiler warnings from the framework.

    That way when I am making changes and so something a little off, I was pay attention to the warnings when I build...

    Also while looking through PS3 code base I found some code doing nothing, which included a whole thread that was created and destroyed, which simply woke up, did nothing and then went back to sleep. So I #ifdef that code out. Not sure if the functionality that probably used to be there will return so I did not totally remove it.

    I have built on both Edison and RPI2... I have found with a few changes that the system wants to say the whole file changed. Not sure if this has to do with file encodings or not.

    Anyway if anyone wishes to try them out, they are up: https://github.com/KurtE/HROS1-Frame...RemoveWarnings

    Also it is setup that the changes can be automatically merged into main project.

    Kurt

  2. #2

    Re: Remove Compiler Warnings from HR-OS1 framework...

    Not sure if the functionality that probably used to be there will return so I did not totally remove it.
    That's what source control is for. If it's doing nothing, kill it with fire!
    It's often the case that safely removing code is more valuable to long-term code health than adding new code...

  3. #3
    Join Date
    Dec 2007
    Location
    Portland, OR
    Posts
    3,198
    Images
    952
    Rep Power
    150

    Re: Remove Compiler Warnings from HR-OS1 framework...

    Merged in, thanks KurtE!

  4. #4

    Re: Remove Compiler Warnings from HR-OS1 framework...

    You are welcome. I need to get back to my HR-OS1, but having too much fun playing with PhantomX stuff

  5. #5
    Join Date
    Dec 2007
    Location
    Portland, OR
    Posts
    3,198
    Images
    952
    Rep Power
    150

    Re: Remove Compiler Warnings from HR-OS1 framework...

    Quote Originally Posted by KurtEck View Post
    You are welcome. I need to get back to my HR-OS1, but having too much fun playing with PhantomX stuff
    I think you of all people will really appreciate our upcoming MK III release.

  6. #6

    Re: Remove Compiler Warnings from HR-OS1 framework...

    Quote Originally Posted by Tyberius View Post
    I think you of all people will really appreciate our upcoming MK III release.
    Sounds Intriguing

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Raspberry Pi 2 image recovery + HR-OS1 Framework
    By panthallion in forum HR-OS1 Development and Discussion
    Replies: 17
    Last Post: 04-30-2015, 02:36 PM
  2. framework for robotics
    By iacoposk8 in forum Robotics General Discussion
    Replies: 2
    Last Post: 10-11-2013, 06:52 PM
  3. Question(s) OOPic version 6 compiler anyone?
    By strauss in forum Software and Programming
    Replies: 2
    Last Post: 02-12-2012, 02:50 PM
  4. C++ Compiler
    By ooops in forum Software and Programming
    Replies: 2
    Last Post: 07-14-2008, 08:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •