Search found 1563 matches

by DrV
Oct 03, 2008 5:51
Forum: DOS
Topic: Wattcp32
Replies: 8
Views: 3969

You are probably writing #inclib "libwatt" or -l libwatt when you should not include the lib part (#inclib "watt" or -l watt).
by DrV
Oct 02, 2008 21:31
Forum: Windows
Topic: Trouble Running Windows Examples With Vista 32-Bit
Replies: 6
Views: 2128

You should compile and run the examples somewhere other than the Program Files directory; this location is not modifiable for regular users and is probably causing your problems.
by DrV
Sep 30, 2008 5:26
Forum: General
Topic: Which is faster: Select Case or procedure array?
Replies: 8
Views: 1667

Select Case As Const will generate a jump table, which is generally faster than regular Select Case for larger umbers of cases.
by DrV
Sep 29, 2008 3:51
Forum: Projects
Topic: KwikGUI - Demo Source & Lib Release
Replies: 13
Views: 3391

Actually, FBIde is also open source (although written in C++, not FB) - http://fbide.cvs.sourceforge.net/fbide/ - but this is totally unrelated to the topic at hand.
by DrV
Sep 28, 2008 20:04
Forum: General
Topic: Weird asm error
Replies: 8
Views: 1561

@DrV, yeah, we should give a warning/error when it exceeds the width of the type (is equalling it OK?). We should probably also be converting constant shift values to ubyte before emitting them, though having an error probably makes that moot. In the case of x86, the shift counts are masked by (num...
by DrV
Sep 28, 2008 20:00
Forum: General
Topic: problem with gprof
Replies: 3
Views: 870

You have to run the app yourself between compiling with -profile and running gprof; this will generate gmon.out, which is input to gprof automatically.
by DrV
Sep 27, 2008 0:56
Forum: General
Topic: Weird asm error
Replies: 8
Views: 1561

Shifting more than the width of the type is undefined anyway (with a constant, it should work out as you expect, but with a variable, expect undefined results - not necessarily 0). We should probably catch this when we build the AST that causes a shift by a const greater than the type width...
by DrV
Sep 21, 2008 19:40
Forum: General
Topic: Windows gets laggy while running a Freebasic program
Replies: 17
Views: 3577

Which version of FreeBASIC are you using? Older versions had high-priority graphics updating thread by default, which could cause the symptoms you are experiencing.
by DrV
Sep 21, 2008 16:56
Forum: Linux
Topic: [solved] Alt-Enter on Linux
Replies: 12
Views: 4517

Thanks for doing this great research; I'll try to take a look at it this week. I am not very experienced with X, but if SDL does it like this, then it must be decent. :)
by DrV
Sep 18, 2008 23:47
Forum: Linux
Topic: How to run the tests on Ubuntu (shells without echo -e)
Replies: 2
Views: 1467

How to run the tests on Ubuntu (shells without echo -e)

It seems the builtin echo command default shell of Ubuntu (dash) does not support the -e switch that our test suite Makefiles use; this will manifest itself as an error when attempting to build the tests, and the *.inc files will have lines beginning with -e in them. To fix this, first remove the br...
by DrV
Sep 16, 2008 21:31
Forum: Beginners
Topic: Getting the programme to begin
Replies: 17
Views: 3701

I don't think it's a good idea to remove the launcher for the command prompt, as otherwise there's essentially no indication that the compiler has been installed at all unless the user remembers where he installed it and goes looking there manually... In any case, we could at least add the installat...
by DrV
Sep 16, 2008 21:27
Forum: Beginners
Topic: newline character!
Replies: 9
Views: 2115

It's mainly useful in preprocessor macros, where part of the string might be expanded from another macro (i.e. "abc" DEF "ghi", where DEF is a #define that expands to a string constant); however, this is not really that useful in FB, since "abc" & "def" is still a constant (there is no equivalen...
by DrV
Sep 09, 2008 3:55
Forum: Linux
Topic: Library names in an embedded Linux
Replies: 7
Views: 1914

Are you sure your embedded system is actually an x86 Linux system?
by DrV
Sep 08, 2008 18:39
Forum: General
Topic: BUG? Interesting Order of Operations Error
Replies: 7
Views: 1252

Each branch of the If has its own scope; this is intentional.
by DrV
Sep 08, 2008 14:38
Forum: Linux
Topic: Hi - Already in trouble
Replies: 5
Views: 2353

FreeBASIC only currently supports x86 targets; however, there is a C backend in progress that could allow cross-compiling to other CPU architectures. The C emitter is not currently ready for use, though, so you currently can't cross-compile to any non-x86 (ex. PowerPC) target.

Go to advanced search