Compilation test error
- Thunderbirds747
- Member
- Posts: 83
- Joined: Sat Sep 17, 2016 2:14 am
- Location: Moscow, Russia
Re: Compilation test error
It shouldn't.TimRyazanoff wrote:Moved to Code::Blocks, should do the trick.
com.sun.java.swing.plaf.nimbus.InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState
Compiler Development Forum
Compiler Development Forum
Re: Compilation test error
Generally speaking, you should understand what your toolchain is doing, and why. If you cannot understand it, get a simpler toolchain. (Not one that "magically works", a simpler one you can understand.)
When instructing newcomers to the field of programming, I usually forego the IDE shenanigans for the initial lessons, and teach people how to work with stand-alone text editor, compiler, linker, and eventually, Makefile. We then add more sophisticated tools as we go along.
When instructing newcomers to the field of programming, I usually forego the IDE shenanigans for the initial lessons, and teach people how to work with stand-alone text editor, compiler, linker, and eventually, Makefile. We then add more sophisticated tools as we go along.
Using four-wheel drive just means you get stuck in more inaccessible places.
Every good solution is obvious once you've found it.
- Thunderbirds747
- Member
- Posts: 83
- Joined: Sat Sep 17, 2016 2:14 am
- Location: Moscow, Russia
Re: Compilation test error
In DebugDisplay.cpp I get this:
error on line 275: invalid cast of an rvalue expression of type 'char' to type 'int&'.
What should I do?
error on line 275: invalid cast of an rvalue expression of type 'char' to type 'int&'.
What should I do?
- Attachments
-
- DebugDisplay.cpp
- (7.93 KiB) Downloaded 55 times
Coffee is not airplane fuel.
Re: Compilation test error
Learn about C/C++ types and casts. Then fix the code?
Re: Compilation test error
Why did you use that particular cast? What, exactly, are you expecting it to do?
- Thunderbirds747
- Member
- Posts: 83
- Joined: Sat Sep 17, 2016 2:14 am
- Location: Moscow, Russia
Re: Compilation test error
Now there are two errors in exception.cpp:
error on line 19: expected ( before { token
error on line 20: cli was not declared in this scope
error on line 19: expected ( before { token
error on line 20: cli was not declared in this scope
- Attachments
-
- exception.cpp
- (2.95 KiB) Downloaded 52 times
Coffee is not airplane fuel.
Re: Compilation test error
Are you going to post every error in your program?
Learn how to use inline assembler.
Learn how to use inline assembler.
- Thunderbirds747
- Member
- Posts: 83
- Joined: Sat Sep 17, 2016 2:14 am
- Location: Moscow, Russia
Re: Compilation test error
OK.
You may find that people get a little tired of you pretty quickly.
You may find that people get a little tired of you pretty quickly.
Re: Compilation test error
I did that previously. It gives you great experience but you'll need to rewrite your OS from scratch after that.Solar wrote:Do not try to learn C, debugging C, the intricacies of your toolchain, and writing an operating system at the same time. Please.
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing
OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing
OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.
Re: Compilation test error
No problemTimRyazanoff wrote:Sure I will, sorry for being that picky.
Can you give us your Makefile? We need it as you told us that Make gives you an error. We can't do anything if we won't see it.
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing
OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing
OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.
Re: Compilation test error
By the way, your code looks pretty beautiful. I really like its organization, but it doesn't work, haha.
Developing U365.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing
OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.
Source:
only testing: http://gitlab.com/bps-projs/U365/tree/testing
OSDev newbies can copy any code from my repositories, just leave a notice that this code was written by U365 development team, not by you.