-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when trying to build jule with gcc-13 #106
Comments
I'm getting the same error with |
Also would be nice if the sizes that trigger the error/panic could be shown here: Lines 16 to 19 in 6638e5d
|
After add a Lines 16 to 19 in 6638e5d
I'm getting this output:
|
I've also added
|
Hi. CI/CD is not reports this problem on Ubuntu. Could you explain in detail the steps you took and help me figure out how to experience the problem? |
Here is my replacement for https://github.com/julelang/jule/blob/master/src/julec/build.sh :
Looking a the output of The steps on Ubuntu 18.04 :
|
I have an idea to fix. Your command would be like: |
There is any way to get a stack trace from the panic in |
Jule is not supports stack traces yet. So unfortunately no. |
It gives the same error, here is my
|
Even compiling with Something like:
|
Yes you can call the Add this into source code like function declaration:
Then you can call like this: |
Problem is probably caused by |
I've added a call to abort an I'm getting this stack trace that doesn't help much (any way to add line numbers to the generated
|
There is no way to print lines into C++ code.
Thus we will know the compiler's representation for this constants. |
I've added this to Line 1192 in 6638e5d
Then I get this output:
|
Here is the translate source for your suggestion:
|
In your logs, maximum values of |
Here is the output when compiled with
|
Both outputs seems to be wrong with |
Yes. Clang generates good result except |
I pushed a new commit which is fixes (as far as tested) floating-point literal generation. |
I've just started again with a fresh clone and build that include the latest changes you've mention and the output remain the same for
|
Where in the code the output for |
In this code: jule/src/julec/obj/cxx/expr.jule Lines 811 to 818 in c85723b
How can I output between comments the
|
Which format will be used? As a Jule expression, we can't (we don't have required algorithms to do this). You probably thinking to print constant value of expression, please correct me if I am wrong. Here is my suggestion to do this:
|
Description
When trying to build
jule
withg++-13
I'm getting the error shown bellow (withclang-17
no error):Searching for occurrencies of
OverflowLimits
I found:I believe that the error is raised here
jule/std/jule/sema/sema.jule
Line 1198 in 28675df
Would be nice if the line number of the
self.pushErr
appeared on the error message.Expected behavior
No errors
Current behavior
No response
Additional information
Nothing
The text was updated successfully, but these errors were encountered: