Comments (10)
I think this may already be fixed. Can you try the develop branch please, if you're not already?
from asmotor.
aah you're using the branches that way around, ok yeah i was on master, will try. :D
from asmotor.
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.
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.
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.
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.
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.
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.
Sorry about the confusion. I need to switch to trunk based insted of git-flow and kill off the develop branch
from asmotor.
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)
- Ambiguous C language requirements HOT 1
- [680x0] bcc with address in absolute-short range yields source operand error HOT 1
- Z80: Error "SECTION_FULL" if section size exceeds 16kB HOT 1
- SuperFX(2) assembler/disassembler
- Install guide is very out of date and doesn't work at all. HOT 1
- sprintf format overflow HOT 1
- Referencing two undefined labels produces a core dump HOT 8
- Issue in calculating fixed section placement/sizes HOT 3
- "invalid expression" for `n` in `SECTION....,BANK[n]`
- Error installing: Build failure in tokens.c HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from asmotor.