Giter Site home page Giter Site logo

Comments (10)

csoren avatar csoren commented on May 15, 2024

I think this may already be fixed. Can you try the develop branch please, if you're not already?

from asmotor.

nonchip avatar nonchip commented on May 15, 2024

aah you're using the branches that way around, ok yeah i was on master, will try. :D

from asmotor.

nonchip avatar nonchip commented on May 15, 2024

yeah um now (on develop) i'm getting different warnings:

xasm/common/parse_float_expression.c: In function 'parse_FloatExpression':
xasm/common/parse_float_expression.c:165:12: error: 'result' may be used uninitialized in this function [-Werror=maybe-uninitialized]
  165 |     return result;
      |            ^~~~~~
cc1: all warnings being treated as errors

fixed that by initially assigning 0, next one:

xasm/common/section.c:394:23: error: dereferencing type-punned pointer will break strict-aliasing rules [-Werror=strict-aliasing]
  394 |  uint32_t intValue = *(uint32_t *) &floatValue;
      |                       ^~~

(no idea how to fix that, it's a bit horrifying what you're trying to cast there tbh)

and so on, so yeah more warnings and earlier ones.

from asmotor.

csoren avatar csoren commented on May 15, 2024

I think these must have been fixed in another repo. I've pulled in those changes to the develop branch. This version is what I'm currently using and considering merging to master soon

from asmotor.

nonchip avatar nonchip commented on May 15, 2024

given xasm isn't a submodule i'm not quite sure what you mean by "fixed in another repo"? i just checked out the develop branch and it doesn't compile due to those warnings.

from asmotor.

nonchip avatar nonchip commented on May 15, 2024

for the record this is what cmake came up with config-wise:

-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done

from asmotor.

csoren avatar csoren commented on May 15, 2024

There have been updates in a cloned repo. I have just now pulled in those changes to the develop branch in this repo. Please pull again and make sure the util submodule is also updated

from asmotor.

nonchip avatar nonchip commented on May 15, 2024

aaaah, both github's master and develop branch weren't the "current" one gotcha :P

yup your new develop push made everything work :)

from asmotor.

csoren avatar csoren commented on May 15, 2024

Sorry about the confusion. I need to switch to trunk based insted of git-flow and kill off the develop branch

from asmotor.

nonchip avatar nonchip commented on May 15, 2024

yeah i've used git-flow for far too long too. but turns out "make it so no development happens on the default branch" might help with that 1% of users who don't get what a release is, but doesn't outweigh the benefits of just having stable releases and the one branch that contains the latest stuff :P

from asmotor.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.