D - Compiler default's parameters directly in source?
- Felix <Felix_member pathlink.com> Aug 21 2003
- "Sean L. Palmer" <palmer.sean verizon.net> Aug 22 2003
- "Mike Wynn" <mike.wynn l8night.co.uk> Aug 22 2003
Hi, Maybe it will be useful to allow some kind of compiler parameters to be passed directly in the .d source files. I never met this but some informations as libraries etc. could be written in some kinds of ##lines? What about? Bye
Aug 21 2003
I think I'd rather them be there than in some separate makefile or project file, but it does impose some constraints on the language implementor. They have to be able to parse and handle directives they don't understand. Sean "Felix" <Felix_member pathlink.com> wrote in message news:bi48vt$2hp9$1 digitaldaemon.com...Hi, Maybe it will be useful to allow some kind of compiler parameters to be
directly in the .d source files. I never met this but some informations as libraries etc. could be written in some kinds of ##lines? What about? Bye
Aug 22 2003
D already supports #line <line_num> <file_name> see the very bottom of http://www.digitalmars.com/d/lex.html as D is intended to have support as a backend lang I think this should be extended to allow several line/filename pairs I have worked with systems that preprocess C before cpp get there to do it again, there are times when debugging that you want to keep the macro expended version as well as the original to see what things expanded to. "Sean L. Palmer" <palmer.sean verizon.net> wrote in message news:bi4isj$31k6$1 digitaldaemon.com...I think I'd rather them be there than in some separate makefile or project file, but it does impose some constraints on the language implementor.
have to be able to parse and handle directives they don't understand. Sean "Felix" <Felix_member pathlink.com> wrote in message news:bi48vt$2hp9$1 digitaldaemon.com...Hi, Maybe it will be useful to allow some kind of compiler parameters to be
directly in the .d source files. I never met this but some informations
libraries etc. could be written in some kinds of ##lines? What about? Bye
Aug 22 2003








"Mike Wynn" <mike.wynn l8night.co.uk>