Comments (13)
Could you perhaps report this against sdcc? That seems like a regression then.
from libfx2.
How about future SDCC 4.4.0? There already is SDCC 4.4.0 RC3.
from libfx2.
No issues with the sdcc 3.9 release version. I wil test other release version.
from libfx2.
Could you perhaps report this against sdcc? That seems like a regression then.
I will try other sdcc release version and then report to sdcc. Thanks.
from libfx2.
I just tried sdcc 4.2.0 release and it is okay. So there seems to be a regression in svn. I will report to sdcc.
from libfx2.
Thanks! I'll close it here. Let me know if it's actually a libfx2 bug and I'll reopen.
from libfx2.
Further discussion is in the mailing list. I will update further.
https://sourceforge.net/p/sdcc/mailman/message/37851015/
from libfx2.
The fix for the sdcc svn version as per the sdcc mailing list discussion.
diff --git a/firmware/library/fx2rules.mk b/firmware/library/fx2rules.mk
index 0a8e44b..7580f5a 100644
--- a/firmware/library/fx2rules.mk
+++ b/firmware/library/fx2rules.mk
@@ -36,7 +36,7 @@ $(LIBFX2)/.stamp: $(wildcard $(LIBFX2)/*.c $(LIBFX2)/*.asm $(LIBFX2)/include/*.h
-include build/*.d
build/%.rel: %.c
@mkdir -p $(dir $@)
- $(SDCC) -Wp,-MQ,$@,-MMD,build/$*.d -c -o $@ $<
+ $(SDCC) -Wp,-MQ,$@,-MMD,-MF,build/$*.d -c -o $@ $<
build/%.rel: %.asm
@mkdir -p $(dir $@)
Unfortunately it will break the build for the sdcc release version like latest 4.2.0 release.
from libfx2.
BTW, the warnings 283 can be suppressed by the following as per @spth but he does not recommend to go this route.
#pragma disable_warning 283
from libfx2.
Please also refer to the fix in fx2lib here.
from libfx2.
That seems like an entirely unrelated fix.
from libfx2.
@whitequark what do you think about a two-pass solution mentioned here - https://sourceforge.net/p/sdcc/mailman/message/37851121/ ?
Based on my testing, this seems to work both for sddc 4.3.0 and 4.2.0.
from libfx2.
Fixed in #15, thanks!
from libfx2.
Related Issues (7)
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 libfx2.