Skip to content
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

PHP 8.x #17

Open
Sweetchuck opened this issue Dec 13, 2020 · 0 comments
Open

PHP 8.x #17

Sweetchuck opened this issue Dec 13, 2020 · 0 comments

Comments

@Sweetchuck
Copy link

Is your feature request related to a problem? Please describe.
I couldn't compile sassphp with PHP 8.x

/foo/sassphp/8.0/src/sass.c: In function ‘array_to_import’:
/foo/sassphp/8.0/src/sass.c:98:53: error: expected ‘)’ before ‘TSRMLS_CC’
   98 |         zend_throw_exception_ex(sass_exception_ce, 0 TSRMLS_CC, "Need at least redirected path");
      |                                                     ^~~~~~~~~~
      |                                                     )
/foo/sassphp/8.0/src/sass.c:98:9: error: too few arguments to function ‘zend_throw_exception_ex’
   98 |         zend_throw_exception_ex(sass_exception_ce, 0 TSRMLS_CC, "Need at least redirected path");
      |         ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /foo/sassphp/8.0/src/php_sass.h:23,
                 from /foo/sassphp/8.0/src/sass.c:14:
/foo/php/80000-nts/include/php/Zend/zend_exceptions.h:61:33: note: declared here
   61 | ZEND_API ZEND_COLD zend_object *zend_throw_exception_ex(zend_class_entry *exception_ce, zend_long code, const char *format, ...) ZEND_ATTRIBUTE_FORMAT(printf, 3, 4);
      |                                 ^~~~~~~~~~~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant